/* ==========================================================================
   AFRICAMP — v2 stylesheet
   Polished version of existing aesthetic. Forest green + warm cream.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Modernised forest palette */
  --green-900: #0f2419;
  --green-800: #1a3a26;
  --green-700: #245538;
  --green-600: #2f6e48;
  --green-500: #4a8a5f;
  --green-100: #d8e8dd;
  --green-50:  #eef4f0;

  --cream:     #faf7f0;
  --cream-2:   #f3ede0;
  --sand:      #e8dcc0;

  --accent:    #d97847;     /* warm terracotta accent */
  --accent-soft: #fde8dc;

  --text:      #1a2820;
  --text-muted:#5a6b62;
  --line:      rgba(15, 36, 25, 0.1);

  --font:      'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius:    14px;
  --radius-lg: 22px;
  --shadow:    0 4px 24px rgba(15, 36, 25, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 36, 25, 0.12);
  --transition:300ms cubic-bezier(0.4, 0, 0.2, 1);

  --max-w:     1200px;
  --pad:       clamp(1.25rem, 4vw, 2rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.75; }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--green-900);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.25rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; font-weight: 600; }

.italic-accent { font-style: italic; color: var(--green-600); font-weight: 700; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
  background: var(--green-50);
  padding: 0.45rem 0.95rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}

.eyebrow-light {
  color: var(--accent);
  background: var(--accent-soft);
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 36em;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tight { padding: clamp(2.5rem, 4vw, 3.5rem) 0; }

.section-head { margin-bottom: 3rem; }
.section-head .eyebrow { margin-bottom: 0.75rem; }
.section-head p { color: var(--text-muted); margin-top: 0.85rem; max-width: 36em; }

.text-center { text-align: center; }

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad);
  max-width: var(--max-w);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--green-900);
}

.logo-mark {
  width: 32px; height: 32px;
  background: var(--green-700);
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--cream);
  font-size: 1rem;
}

.nav { display: flex; gap: 2rem; align-items: center; }

.nav a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--green-900);
}

.nav a.active { color: var(--green-600); font-weight: 600; }

.nav-cta {
  background: var(--green-700);
  color: var(--cream) !important;
  padding: 0.7rem 1.35rem;
  border-radius: 99px;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-cta:hover { background: var(--green-800); opacity: 1; }

.menu-toggle {
  display: none;
  background: none; border: 0;
  font-size: 1.5rem;
  color: var(--green-900);
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 1.5rem var(--pad);
    gap: 1.25rem;
    border-bottom: 1px solid var(--line);
  }
  .menu-toggle { display: block; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 99px;
  border: 0;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary { background: var(--green-700); color: var(--cream); }
.btn-primary:hover { background: var(--green-800); transform: translateY(-1px); opacity: 1; box-shadow: 0 8px 20px rgba(15, 36, 25, 0.2); }

.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { background: #1fb957; opacity: 1; transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--green-900);
  border: 1.5px solid var(--green-900);
}
.btn-outline:hover { background: var(--green-900); color: var(--cream); opacity: 1; }

.btn-ghost {
  background: white;
  color: var(--green-900);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--green-50); opacity: 1; }

.btn-large { padding: 1.05rem 2rem; font-size: 1rem; }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 60%, var(--green-700) 100%);
  color: var(--cream);
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(74, 138, 95, 0.4), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(217, 120, 71, 0.18), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 { color: var(--cream); margin-bottom: 1.5rem; }

.hero .lede { color: rgba(250, 247, 240, 0.78); }

.hero .eyebrow {
  background: rgba(74, 138, 95, 0.25);
  color: var(--green-100);
}

.hero-cta-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}

.hero-cta-row .btn-primary {
  background: var(--cream);
  color: var(--green-900);
}
.hero-cta-row .btn-primary:hover { background: white; opacity: 1; }

.hero-cta-row .btn-outline {
  border-color: var(--cream);
  color: var(--cream);
}
.hero-cta-row .btn-outline:hover { background: var(--cream); color: var(--green-900); opacity: 1; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 247, 240, 0.15);
  position: relative;
}

@media (max-width: 600px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

.stat-num {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(250, 247, 240, 0.65);
  letter-spacing: 0.02em;
}

.hero-image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(74, 138, 95, 0.4), rgba(15, 36, 25, 0.6));
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: 0.85;
}

.hero-image-tag {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: rgba(15, 36, 25, 0.85);
  backdrop-filter: blur(8px);
  color: var(--cream);
  padding: 0.6rem 1rem;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 500;
  display: flex; align-items: center; gap: 0.5rem;
}
.hero-image-tag::before {
  content: ''; width: 8px; height: 8px;
  background: var(--green-500); border-radius: 50%;
}

/* ==========================================================================
   PRODUCT CARDS
   ========================================================================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  overflow: hidden;
}

.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.product-price-badge {
  position: absolute;
  top: 0.85rem; right: 0.85rem;
  background: var(--green-900);
  color: var(--cream);
  padding: 0.45rem 0.85rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
}

.product-best-badge {
  position: absolute;
  top: 0.85rem; left: 0.85rem;
  background: var(--accent);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-body {
  padding: 1.4rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  color: var(--green-900);
}

.product-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.product-pricing {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.85rem;
  background: var(--green-50);
  border-radius: 10px;
}

.pricing-tier { text-align: center; }
.pricing-tier-amount {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--green-900);
  display: block;
}
.pricing-tier-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.product-deposit {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.product-deposit strong { color: var(--green-900); }

.product-actions {
  display: flex;
  gap: 0.55rem;
}
.product-actions .btn {
  flex: 1;
  padding: 0.7rem 0.85rem;
  font-size: 0.85rem;
  justify-content: center;
}

/* ==========================================================================
   STEPS / VALUE GRIDS
   ========================================================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: white;
  padding: 1.85rem 1.65rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: relative;
  transition: transform var(--transition);
}

.step-card:hover { transform: translateY(-3px); border-color: var(--green-500); }

.step-num {
  width: 42px; height: 42px;
  background: var(--green-700);
  color: var(--cream);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.step-card h3 { margin-bottom: 0.55rem; font-size: 1.15rem; }
.step-card p { color: var(--text-muted); font-size: 0.93rem; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: white;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.value-icon {
  width: 56px; height: 56px;
  background: var(--green-50);
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.value-card h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.value-card p { color: var(--text-muted); font-size: 0.93rem; }

/* Info grid (deposits/payments/etc) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}
.info-card {
  background: white;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.info-card h3 { font-size: 1.05rem; margin-bottom: 0.65rem; }
.info-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 0.9rem; }
.info-card .info-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-700);
  background: var(--green-50);
  padding: 0.4rem 0.8rem;
  border-radius: 99px;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: white;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.testimonial-stars { color: var(--accent); margin-bottom: 1rem; font-size: 0.95rem; letter-spacing: 0.1em; }
.testimonial-quote {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.testimonial-author {
  display: flex; align-items: center; gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.testimonial-avatar {
  width: 38px; height: 38px;
  background: var(--green-700);
  color: var(--cream);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 600;
}
.testimonial-name { font-weight: 600; font-size: 0.92rem; color: var(--green-900); }
.testimonial-loc { font-size: 0.82rem; color: var(--text-muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list { max-width: 820px; margin: 0 auto; }

.faq-list details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-list details[open] { border-color: var(--green-500); }

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  color: var(--green-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--green-600);
  transition: transform var(--transition);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
  padding: 0 1.5rem 1.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   FORMS
   ========================================================================== */

.form-card {
  background: white;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}

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

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

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font);
  font-size: 0.97rem;
  padding: 0.85rem 1rem;
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  transition: border-color var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 0;
  border-color: var(--green-600);
  background: white;
}

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

.form-actions {
  margin-top: 1.75rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.form-note { font-size: 0.86rem; color: var(--text-muted); }

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.65rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
  display: flex; align-items: center; gap: 0.6rem;
}

.contact-card p, .contact-card a {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.contact-card a:hover { color: var(--green-700); opacity: 1; }

.contact-card a strong { color: var(--green-900); font-weight: 600; }

/* ==========================================================================
   CTA STRIP
   ========================================================================== */

.cta-strip {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--cream);
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(217, 120, 71, 0.18), transparent 60%);
  pointer-events: none;
}

.cta-strip .container { position: relative; }
.cta-strip h2 { color: var(--cream); }
.cta-strip p { color: rgba(250, 247, 240, 0.78); margin-top: 0.5rem; }

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-strip-inner .btn-primary { background: var(--cream); color: var(--green-900); }
.cta-strip-inner .btn-primary:hover { background: white; }

/* ==========================================================================
   PAGE HEADER
   ========================================================================== */

.page-header {
  background: var(--cream-2);
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  border-bottom: 1px solid var(--line);
}

.page-header .lede { margin-top: 1.25rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--green-900);
  color: var(--cream);
  padding: clamp(3rem, 5vw, 4.5rem) 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }

.footer-brand h3 {
  color: var(--cream);
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.footer-brand p {
  color: rgba(250, 247, 240, 0.65);
  max-width: 22em;
  font-size: 0.93rem;
}

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-100);
  margin-bottom: 1.1rem;
  font-weight: 600;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { color: rgba(250, 247, 240, 0.78); font-size: 0.93rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(250, 247, 240, 0.12);
  font-size: 0.85rem;
  color: rgba(250, 247, 240, 0.55);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   WHATSAPP FLOAT
   ========================================================================== */

.wa-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 99;
  background: #25D366;
  color: white;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition);
}
.wa-float:hover { transform: scale(1.08); opacity: 1; }
.wa-float svg { width: 28px; height: 28px; }

/* ==========================================================================
   FADE IN
   ========================================================================== */

.fade-in { animation: fadeUp 600ms cubic-bezier(0.4, 0, 0.2, 1) backwards; }
.fade-in-1 { animation-delay: 0ms; }
.fade-in-2 { animation-delay: 100ms; }
.fade-in-3 { animation-delay: 200ms; }
.fade-in-4 { animation-delay: 300ms; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
