/* ═══════════════════════════════════════════════════════
   AFRICEM INTEGRATED FARMS PLC — Main Stylesheet
   Colors: Forest Green #003D1F | Accent #7BC043 | Gold #C9A84C
   ═══════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────── */
:root {
  --primary: #003D1F;
  --primary-mid: #005C2E;
  --primary-light: #006633;
  --accent: #7BC043;
  --accent-dark: #5A9032;
  --gold: #C9A84C;
  --text-dark: #111827;
  --text-mid: #374151;
  --text-gray: #6B7280;
  --text-light: #9CA3AF;
  --bg-light: #F9FAFB;
  --bg-off: #F3F4F6;
  --white: #ffffff;
  --border: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.14);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nav-height: 80px;
  --section-pad: 96px 0;
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Typography ─────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); line-height: 1.2; color: var(--text-dark); }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
p { margin-bottom: 1rem; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }

/* ── Layout ─────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad); }
.section-sm { padding: 64px 0; }

/* ── Utility ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-gold { color: var(--gold); }
.bg-primary { background: var(--primary); }
.bg-light { background: var(--bg-light); }
.bg-off { background: var(--bg-off); }
.font-body { font-family: var(--font-body); }
.overline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.lead { font-size: 1.15rem; line-height: 1.75; color: var(--text-mid); }
.divider { width: 56px; height: 3px; background: var(--accent); margin: 20px auto; border-radius: 2px; }
.divider-left { margin: 20px 0; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em;
  transition: all var(--transition); white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: var(--white);
  border: 2px solid var(--primary);
}
.btn-primary:hover { background: var(--primary-mid); border-color: var(--primary-mid); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent {
  background: var(--accent); color: var(--white);
  border: 2px solid var(--accent);
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-outline-primary {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-primary:hover { background: var(--primary); color: var(--white); }
.btn-gold {
  background: var(--gold); color: var(--white);
  border: 2px solid var(--gold);
}
.btn-gold:hover { background: #b8944a; border-color: #b8944a; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 18px 44px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ══════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  display: flex; align-items: center;
  transition: all 0.4s ease;
}
.navbar.transparent { background: transparent; }
.navbar.scrolled {
  background: var(--primary);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.navbar.light-mode { background: var(--white); box-shadow: var(--shadow-sm); }
.navbar.light-mode .nav-link { color: var(--text-dark); }
.navbar.light-mode .nav-link:hover { color: var(--primary); }
.navbar.light-mode .nav-logo-text { color: var(--primary); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 1.1rem;
  color: var(--white); line-height: 1.1;
}
.nav-logo-text span { display: block; font-size: 0.65rem; font-family: var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; font-weight: 400; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-link {
  padding: 8px 14px; border-radius: var(--radius);
  color: rgba(255,255,255,0.88); font-size: 0.9rem; font-weight: 500;
  transition: all var(--transition); position: relative;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.10); }
.nav-link.active { color: var(--accent); }

.nav-cta { margin-left: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); display: block; }

/* ── Mobile Nav ────────────────────────────────────────── */
.mobile-menu {
  display: none; position: fixed; top: var(--nav-height);
  left: 0; right: 0; bottom: 0;
  background: var(--primary); z-index: 999;
  padding: 32px 24px; overflow-y: auto;
  flex-direction: column; gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-nav-link {
  display: block; padding: 14px 16px; border-radius: var(--radius);
  color: rgba(255,255,255,0.85); font-size: 1rem; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition);
}
.mobile-nav-link:hover { color: var(--white); background: rgba(255,255,255,0.08); }

/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0,61,31,0.88) 0%,
    rgba(0,61,31,0.65) 50%,
    rgba(0,0,0,0.30) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 720px;
  padding: calc(var(--nav-height) + 40px) 0 80px;
}
.hero-overline {
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.hero-overline::before { content: ''; width: 40px; height: 2px; background: var(--accent); display: inline-block; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lead { font-size: 1.15rem; color: rgba(255,255,255,0.85); margin-bottom: 40px; max-width: 560px; line-height: 1.75; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-dots {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; gap: 8px;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.35); border: none;
  transition: all var(--transition); cursor: pointer;
}
.hero-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

.hero-scroll {
  position: absolute; bottom: 40px; right: 40px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.6); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
}
.hero-scroll-line { width: 1px; height: 60px; background: linear-gradient(to bottom, var(--accent), transparent); animation: scrollLine 2s ease infinite; }
@keyframes scrollLine { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ══════════════════════════════════════════════════════════
   STATS STRIP
   ══════════════════════════════════════════════════════════ */
.stats-strip { background: var(--primary); padding: 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 48px 32px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.10);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item::before {
  content: ''; position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 3px; background: var(--accent);
  transition: width 0.6s ease;
}
.stat-item:hover::before { width: 60%; }
.stat-number {
  font-family: var(--font-heading); font-size: 3rem; font-weight: 700;
  color: var(--white); line-height: 1; margin-bottom: 8px;
}
.stat-number sup { font-size: 1.4rem; vertical-align: super; }
.stat-label {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.6);
}
.stat-accent { color: var(--accent); }

/* ══════════════════════════════════════════════════════════
   SECTION HEADERS
   ══════════════════════════════════════════════════════════ */
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .divider { margin: 16px auto; }
.section-header p { font-size: 1.05rem; max-width: 620px; }
.section-header.center p { margin: 0 auto; }

/* ══════════════════════════════════════════════════════════
   ABOUT / INTRO
   ══════════════════════════════════════════════════════════ */
.about-intro-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-wrap img {
  width: 100%; height: 520px; object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-badge {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--primary); color: var(--white);
  border-radius: var(--radius-lg); padding: 28px 32px;
  text-align: center; box-shadow: var(--shadow-lg);
}
.about-badge-num {
  font-family: var(--font-heading); font-size: 2.5rem;
  font-weight: 700; color: var(--accent); line-height: 1;
}
.about-badge-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; opacity: 0.8; }
.about-list { margin: 24px 0; }
.about-list li {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 16px; font-size: 0.95rem; color: var(--text-mid);
}
.about-list li::before {
  content: ''; width: 20px; height: 20px; min-width: 20px;
  background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}

/* ══════════════════════════════════════════════════════════
   PRODUCTS
   ══════════════════════════════════════════════════════════ */
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.product-card {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition); background: var(--white);
  border: 1px solid var(--border);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card-img {
  height: 240px; overflow: hidden; position: relative;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--accent); color: var(--white);
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.product-card-body { padding: 28px; }
.product-card-body h3 { margin-bottom: 12px; font-size: 1.3rem; }
.product-card-body p { font-size: 0.92rem; margin-bottom: 20px; color: var(--text-gray); }
.product-specs {
  display: flex; gap: 16px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.product-spec { font-size: 0.8rem; color: var(--text-gray); }
.product-spec strong { display: block; font-size: 1rem; color: var(--primary); font-family: var(--font-heading); }

/* ── Full-width product banner ───────────────────────────── */
.products-banner {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 520px;
  margin-top: 48px;
}
.products-banner-img { position: relative; overflow: hidden; }
.products-banner-img img { width: 100%; height: 100%; object-fit: cover; }
.products-banner-content {
  background: var(--primary); padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.products-banner-content h2 { color: var(--white); margin-bottom: 20px; }
.products-banner-content p { color: rgba(255,255,255,0.8); margin-bottom: 32px; }

/* ══════════════════════════════════════════════════════════
   SUSTAINABILITY
   ══════════════════════════════════════════════════════════ */
.sustain-cards {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2px; background: var(--border);
}
.sustain-card {
  background: var(--white); padding: 48px 40px;
  transition: background var(--transition);
}
.sustain-card:hover { background: var(--bg-light); }
.sustain-icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.sustain-icon svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; }
.sustain-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.sustain-card p { font-size: 0.92rem; }

.sustain-banner {
  background: var(--primary); padding: 80px 0; margin-top: 64px;
  position: relative; overflow: hidden;
}
.sustain-banner::before {
  content: ''; position: absolute;
  top: -50%; right: -10%; width: 600px; height: 600px;
  border-radius: 50%; background: rgba(123,192,67,0.06);
}
.sustain-banner-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.sustain-banner h2 { color: var(--white); }
.sustain-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.sustain-stat { text-align: center; }
.sustain-stat-num {
  font-family: var(--font-heading); font-size: 2.5rem;
  font-weight: 700; color: var(--accent);
}
.sustain-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.65); letter-spacing: 0.08em; }

/* ══════════════════════════════════════════════════════════
   INVESTORS
   ══════════════════════════════════════════════════════════ */
.invest-phases {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-bottom: 64px;
}
.invest-phase {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: all var(--transition);
}
.invest-phase:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.invest-phase-header {
  padding: 32px; background: var(--primary); text-align: center;
}
.invest-phase-header.accent { background: var(--accent-dark); }
.invest-phase-num {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 8px;
}
.invest-phase-amt {
  font-family: var(--font-heading); font-size: 2.2rem;
  font-weight: 700; color: var(--white);
}
.invest-phase-body { padding: 28px; }
.invest-phase-body ul li {
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; color: var(--text-mid);
  display: flex; align-items: center; gap: 10px;
}
.invest-phase-body ul li:last-child { border-bottom: none; }
.invest-phase-body ul li::before {
  content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0;
}

/* ── Payment Form ───────────────────────────────────────── */
.payment-section {
  background: var(--bg-light); border-radius: var(--radius-lg);
  padding: 56px; border: 1px solid var(--border);
}
.payment-section h2 { margin-bottom: 8px; }
.payment-tabs { display: flex; gap: 0; margin: 32px 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.payment-tab {
  flex: 1; padding: 14px; text-align: center;
  font-weight: 600; font-size: 0.9rem;
  background: var(--white); color: var(--text-mid);
  border: none; transition: all var(--transition); cursor: pointer;
}
.payment-tab.active { background: var(--primary); color: var(--white); }
.payment-panel { display: none; }
.payment-panel.active { display: block; }

.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 12px 16px; border-radius: var(--radius);
  border: 1.5px solid var(--border); font-size: 0.95rem;
  transition: border-color var(--transition); background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,61,31,0.08); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-select {
  width: 100%; padding: 12px 16px; border-radius: var(--radius);
  border: 1.5px solid var(--border); font-size: 0.95rem;
  background: var(--white); transition: border-color var(--transition);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 44px;
}
.form-select:focus { outline: none; border-color: var(--primary); }

.payment-note {
  margin-top: 16px; font-size: 0.82rem; color: var(--text-gray);
  display: flex; align-items: center; gap: 8px;
}
.payment-note svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── ROI Section ───────────────────────────────────────── */
.roi-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
  margin: 48px 0;
}
.home-roi-grid { max-width: 700px; margin: 40px auto; text-align: left; }
.roi-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px 24px; text-align: center; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.roi-card-val {
  font-family: var(--font-heading); font-size: 2rem;
  font-weight: 700; color: var(--primary); margin-bottom: 8px;
}
.roi-card-label { font-size: 0.82rem; color: var(--text-gray); }

/* ══════════════════════════════════════════════════════════
   NEWS
   ══════════════════════════════════════════════════════════ */
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.news-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); border: 1px solid var(--border);
  transition: all var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card-img { height: 200px; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 28px; }
.news-card-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px; flex-wrap: wrap;
}
.news-card-cat {
  background: rgba(123,192,67,0.15); color: var(--accent-dark);
  padding: 3px 10px; border-radius: 100px; font-size: 0.72rem; font-weight: 700;
}
.news-card-date { font-size: 0.8rem; color: var(--text-gray); }
.news-card-body h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.35; }
.news-card-body h3 a:hover { color: var(--primary); }
.news-card-body p { font-size: 0.88rem; color: var(--text-gray); margin-bottom: 16px; }
.news-read-more {
  font-size: 0.85rem; font-weight: 600; color: var(--primary);
  display: flex; align-items: center; gap: 6px;
  transition: gap var(--transition);
}
.news-read-more:hover { gap: 10px; color: var(--accent-dark); }

/* ══════════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px;
}
.contact-info-item {
  display: flex; gap: 16px; margin-bottom: 32px; align-items: flex-start;
}
.contact-info-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: rgba(0,61,31,0.08); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-icon svg { width: 22px; height: 22px; stroke: var(--primary); fill: none; }
.contact-info-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-gray); margin-bottom: 4px; }
.contact-info-value { font-size: 0.95rem; color: var(--text-dark); font-weight: 500; }
.contact-info-value a:hover { color: var(--primary); }

.contact-form-wrap {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 48px; box-shadow: var(--shadow-md); border: 1px solid var(--border);
}

/* ── Alert messages ─────────────────────────────────────── */
.alert {
  padding: 16px 20px; border-radius: var(--radius);
  font-size: 0.9rem; margin-bottom: 24px;
  display: flex; align-items: flex-start; gap: 12px;
}
.alert-success { background: rgba(123,192,67,0.12); color: #2d6a0a; border: 1px solid rgba(123,192,67,0.3); }
.alert-error { background: rgba(239,68,68,0.08); color: #dc2626; border: 1px solid rgba(239,68,68,0.2); }

/* ══════════════════════════════════════════════════════════
   PAGE HERO (Interior pages)
   ══════════════════════════════════════════════════════════ */
.page-hero {
  position: relative; background: var(--primary);
  padding: calc(var(--nav-height) + 80px) 0 80px;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.18;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,61,31,0.95), rgba(0,61,31,0.75));
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero .lead { color: rgba(255,255,255,0.8); max-width: 600px; }

.products-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.products-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.products-facility-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.products-facility-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 24px; font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { opacity: 0.4; }

/* ══════════════════════════════════════════════════════════
   CERTIFICATIONS / PARTNERS
   ══════════════════════════════════════════════════════════ */
.cert-strip { background: var(--primary); padding: 40px 0; }
.cert-inner {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  justify-content: center;
}
.cert-badge {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius); padding: 12px 24px;
  text-align: center;
}
.cert-badge-label { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 2px; }
.cert-badge-value { font-size: 0.9rem; color: var(--white); font-weight: 600; }

/* ══════════════════════════════════════════════════════════
   CTA BAND
   ══════════════════════════════════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute;
  top: -40%; right: -5%; width: 500px; height: 500px;
  border-radius: 50%; background: rgba(123,192,67,0.07);
}
.cta-band::after {
  content: ''; position: absolute;
  bottom: -50%; left: -5%; width: 400px; height: 400px;
  border-radius: 50%; background: rgba(255,255,255,0.04);
}
.cta-band-content { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.75); font-size: 1.05rem; margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer { background: #0A1F12; color: rgba(255,255,255,0.7); }
.footer-top { padding: 80px 0 60px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand { max-width: 280px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo img { height: 40px; }
.footer-logo-name {
  font-family: var(--font-heading); font-size: 1rem;
  color: var(--white); font-weight: 700; line-height: 1.1;
}
.footer-logo-name span { display: block; font-size: 0.6rem; font-family: var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; font-weight: 400; }
.footer-desc { font-size: 0.88rem; line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-social-link {
  width: 36px; height: 36px; border-radius: var(--radius);
  background: rgba(255,255,255,0.08); display: flex;
  align-items: center; justify-content: center;
  transition: all var(--transition); color: var(--white);
}
.footer-social-link:hover { background: var(--accent); }
.footer-social-link svg { width: 16px; height: 16px; }

.footer-col h4 { color: var(--white); font-size: 0.92rem; margin-bottom: 20px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0.05em; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 0.87rem; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-link:hover { color: var(--accent); }

.footer-contact-item { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span { font-size: 0.85rem; }
.footer-contact-item a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 0.8rem; margin: 0; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-link { font-size: 0.8rem; color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-bottom-link:hover { color: var(--accent); }

/* ── Reg badge in footer ─────────────────────────────────── */
.footer-reg {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 20px;
}
.reg-pill {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px; padding: 4px 12px;
  font-size: 0.7rem; color: rgba(255,255,255,0.5);
}

/* ══════════════════════════════════════════════════════════
   MISC COMPONENTS
   ══════════════════════════════════════════════════════════ */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tag {
  padding: 4px 14px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em;
  background: rgba(0,61,31,0.08); color: var(--primary);
}

.success-banner {
  position: fixed; top: 100px; right: 24px; z-index: 2000;
  background: var(--primary); color: var(--white);
  padding: 16px 24px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); max-width: 360px;
  display: none; align-items: flex-start; gap: 12px;
  border-left: 4px solid var(--accent);
}
.success-banner.show { display: flex; }

/* ── Page loader ─────────────────────────────────────────── */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--primary); display: flex;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 24px;
  transition: opacity 0.5s ease;
}
.page-loader.hidden { opacity: 0; pointer-events: none; }
.loader-logo { width: 80px; height: 80px; }
.loader-bar { width: 200px; height: 2px; background: rgba(255,255,255,0.2); border-radius: 2px; overflow: hidden; }
.loader-bar-fill { height: 100%; background: var(--accent); width: 0%; animation: loadBar 1.8s ease forwards; }
@keyframes loadBar { to { width: 100%; } }

/* ── Scroll-to-top ───────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 500;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: all var(--transition); border: none;
}
.scroll-top.show { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--accent); transform: translateY(-2px); }
.scroll-top svg { width: 20px; height: 20px; }

/* ── 404 ─────────────────────────────────────────────────── */
.error-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--primary); text-align: center; padding: 40px;
}
.error-page h1 { font-size: 8rem; color: var(--accent); opacity: 0.4; line-height: 1; }
.error-page h2 { color: var(--white); margin-bottom: 16px; }
.error-page p { color: rgba(255,255,255,0.7); margin-bottom: 32px; }

/* ══════════════════════════════════════════════════════════
   AOS CUSTOM (supplement)
   ══════════════════════════════════════════════════════════ */
[data-aos] { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --section-pad: 72px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.10); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.10); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image-wrap img { height: 400px; }
  .about-badge { bottom: -16px; right: 16px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .invest-phases { grid-template-columns: 1fr; }
  .roi-grid { grid-template-columns: repeat(2,1fr); }
  .sustain-banner-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 68px; --section-pad: 56px 0; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .home-hero { min-height: 82vh; }
  .hero-content { padding-top: calc(var(--nav-height) + 32px); padding-bottom: 60px; }
  .hero-scroll { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .products-banner { grid-template-columns: 1fr; }
  .products-banner-img { height: 280px; }
  .products-banner-content { padding: 48px 32px; }
  .products-feature-grid,
  .products-facility-media,
  .products-facility-stats { grid-template-columns: 1fr; gap: 32px; }
  .products-feature-grid img { height: 360px !important; }
  .products-metric-grid { grid-template-columns: 1fr 1fr; }
  .sustain-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 32px 24px; }
  .payment-section { padding: 32px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .roi-grid { grid-template-columns: 1fr 1fr; }
  .sustain-stats { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-band-actions { flex-direction: column; align-items: center; }
  .page-hero { min-height: 56vh; padding: 120px 0 72px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.9rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .home-roi-grid { text-align: center; }
  .products-metric-grid { grid-template-columns: 1fr; }
  .products-feature-grid img,
  .products-facility-media img { height: 260px !important; }
  .stat-number { font-size: 2.2rem; }
  .roi-grid { grid-template-columns: 1fr; }
  .sustain-stats { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
