/* ── 1. CSS Custom Properties ─────────────────────────────────────── */
:root {
  --green-dark:    #2D5A27;
  --green-mid:     #3A7232;
  --orange:        #D4841A;
  --gold:          #E8A832;
  --bg-light:      #F8F6F2;
  --bg-white:      #FFFFFF;
  --text-dark:     #1A1A1A;
  --text-muted:    #555555;
  --border:        #E0DDD8;
  --white:         #FFFFFF;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.12);
  --radius:        10px;
  --transition:    0.3s ease;
  --max-width:     1200px;
}

/* ── 2. Reset / Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── 3. Typography ────────────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: var(--green-dark); }
h3 { font-size: 1.2rem; color: var(--green-dark); }
p  { color: var(--text-muted); }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { max-width: 620px; margin: 0.8rem auto 0; font-size: 1.05rem; }

/* ── 4. Layout Utilities ──────────────────────────────────────────── */
.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
}
section { padding: 80px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── 5. Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: #bc7315; }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--green-dark); }
.btn-green { background: var(--green-dark); color: var(--white); }
.btn-green:hover { background: var(--green-mid); }

/* ── 6. Header & Navigation ───────────────────────────────────────── */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--green-dark);
  transition: box-shadow var(--transition);
}
#header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.25); }

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-logo img {
  height: 48px;
  width: auto;
  border-radius: 6px;
  background: white;
  padding: 3px;
}
.nav-logo span {
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { background: rgba(255,255,255,0.15); color: var(--white); }
.nav-links .btn-nav {
  background: var(--orange);
  color: var(--white);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  margin-left: 0.5rem;
}
.nav-links .btn-nav:hover { background: #bc7315; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 7. Hero Section ──────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #1e3d1a 0%, #2D5A27 40%, #3A7232 70%, #4a8f3f 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(212,132,26,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(232,168,50,0.08) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero h1 span { color: var(--gold); }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 600px; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 60px;
}
.stat-item {
  background: rgba(0,0,0,0.15);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: background var(--transition);
}
.stat-item:hover { background: rgba(0,0,0,0.25); }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--gold); display: block; }
.stat-label  { font-size: 0.8rem; color: rgba(255,255,255,0.8); margin-top: 0.2rem; }

/* ── 8. About Section ─────────────────────────────────────────────── */
#about { background: var(--bg-light); }
.about-text h2 { margin-bottom: 1rem; }
.about-text p  { margin-bottom: 1rem; font-size: 1.02rem; }

.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.value-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green-dark);
}
.value-item::before {
  content: '✓';
  background: var(--green-dark);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.about-visual {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  border-radius: 20px;
  padding: 3rem 2rem;
  color: white;
  text-align: center;
}
.about-visual .big-stat { font-size: 3.5rem; font-weight: 900; color: var(--gold); }
.about-visual .big-label { font-size: 1rem; opacity: 0.9; margin-bottom: 2rem; }
.about-visual .mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mini-stat { background: rgba(255,255,255,0.1); border-radius: 10px; padding: 1rem; }
.mini-stat strong { display: block; font-size: 1.5rem; color: var(--gold); }
.mini-stat span   { font-size: 0.8rem; opacity: 0.85; }

/* Who We Serve */
.who-serve { margin-top: 4rem; }
.who-serve h3 { text-align: center; font-size: 1.5rem; margin-bottom: 1.5rem; }
.serve-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.serve-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.2rem 0.8rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.serve-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.serve-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.serve-card p { font-size: 0.8rem; font-weight: 600; color: var(--green-dark); }

/* ── 9. Services Section ──────────────────────────────────────────── */
#services { background: var(--bg-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-dark), var(--orange));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.service-card h3 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.service-card p  { font-size: 0.9rem; line-height: 1.6; }
.service-metric {
  margin-top: 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
  background: rgba(212,132,26,0.08);
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
}

.analytics-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.analytics-banner h3 { color: white; font-size: 1.2rem; }
.analytics-banner p  { color: rgba(255,255,255,0.8); font-size: 0.9rem; margin-top: 0.3rem; }
.kpi-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.kpi-pill {
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.25);
}

/* ── 10. Why Choose Us ────────────────────────────────────────────── */
#why-choose-us { background: var(--bg-light); }

.differentiators {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.diff-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.diff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.diff-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(45,90,39,0.1), rgba(45,90,39,0.05));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.diff-card h3 { margin-bottom: 0.4rem; }
.diff-card p  { font-size: 0.9rem; }

/* Pricing */
.pricing-section { margin-bottom: 4rem; }
.pricing-section h3 { font-size: 1.5rem; text-align: center; margin-bottom: 0.5rem; }
.pricing-section > p { text-align: center; margin-bottom: 2rem; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.price-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.8rem 1.2rem;
  text-align: center;
  border: 2px solid var(--border);
  transition: border-color var(--transition), transform var(--transition);
  position: relative;
}
.price-card:hover { border-color: var(--orange); transform: translateY(-4px); }
.price-card.featured { border-color: var(--orange); background: linear-gradient(to bottom, rgba(212,132,26,0.04), white); }
.price-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--orange);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.8rem;
  border-radius: 50px;
  white-space: nowrap;
}
.price-card .plan-name { font-weight: 700; font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.price-card .price-value { font-size: 1.8rem; font-weight: 900; color: var(--green-dark); }
.price-card .price-unit  { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1rem; }
.price-card ul { text-align: left; }
.price-card ul li { font-size: 0.82rem; color: var(--text-muted); padding: 0.3rem 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 0.4rem; }
.price-card ul li::before { content: '✓'; color: var(--green-dark); font-weight: 700; flex-shrink: 0; }

.pilot-banner {
  background: linear-gradient(135deg, var(--orange), var(--gold));
  border-radius: var(--radius);
  padding: 2.5rem 3rem;
  text-align: center;
  margin-top: 2rem;
}
.pilot-banner h3 { color: white; font-size: 1.5rem; margin-bottom: 0.5rem; }
.pilot-banner p  { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; font-size: 1rem; }

/* Onboarding */
.onboarding-section h3 { font-size: 1.5rem; text-align: center; margin-bottom: 0.5rem; }
.onboarding-section > p { text-align: center; margin-bottom: 2.5rem; }
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 36px; left: 16.66%; right: 16.66%;
  height: 3px;
  background: linear-gradient(90deg, var(--green-dark), var(--orange));
  z-index: 0;
}
.timeline-step { text-align: center; padding: 0 1.5rem; position: relative; z-index: 1; }
.timeline-dot {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: white;
  border: 4px solid var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1rem;
  font-weight: 900;
  color: var(--green-dark);
  box-shadow: 0 0 0 8px var(--bg-light);
}
.timeline-step:nth-child(2) .timeline-dot { border-color: var(--orange); color: var(--orange); }
.timeline-step:nth-child(3) .timeline-dot { border-color: var(--gold); color: var(--gold); }
.timeline-step h4 { font-size: 1rem; color: var(--green-dark); margin-bottom: 0.4rem; }
.timeline-step p  { font-size: 0.85rem; }

/* ── 11. Contact Section ─────────────────────────────────────────── */
#contact { background: var(--bg-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }

.contact-info h3 { margin-bottom: 1.5rem; font-size: 1.4rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: white;
}
.contact-item h4 { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.2rem; }
.contact-item p, .contact-item a { font-size: 0.95rem; color: var(--text-dark); font-weight: 500; }
.contact-item a:hover { color: var(--orange); }

.map-placeholder {
  margin-top: 2rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
  gap: 0.5rem;
}

/* Contact Form */
.contact-form-wrap h3 { margin-bottom: 1.5rem; font-size: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.4rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--green-dark); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-error { color: #d32f2f; font-size: 0.85rem; margin-bottom: 0.8rem; }

/* ── 12. Footer ───────────────────────────────────────────────────── */
footer {
  background: var(--green-dark);
  color: white;
  padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-logo img { height: 44px; background: white; border-radius: 6px; padding: 3px; }
.footer-logo span { font-weight: 700; font-size: 1.1rem; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 1.7; }
.footer-compliance {
  margin-top: 1.2rem;
  display: flex; gap: 0.5rem; flex-wrap: wrap;
}
.compliance-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.footer-col h4 { font-size: 0.95rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1.2rem; color: var(--gold); }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.9rem; }
.footer-contact-item span:first-child { font-size: 1rem; flex-shrink: 0; }
.footer-contact-item span:last-child { font-size: 0.85rem; color: rgba(255,255,255,0.75); line-height: 1.5; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── 13. Animations ───────────────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }
.animate-on-scroll:nth-child(7) { transition-delay: 0.6s; }

/* ── 14. Media Queries ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .serve-grid   { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }

  .hamburger { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--green-dark);
    padding: 1rem 5%;
    gap: 0.25rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.6rem 0.9rem; }
  .nav-links .btn-nav { text-align: center; margin: 0.5rem 0 0; }

  nav { position: relative; }

  .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .differentiators      { grid-template-columns: 1fr; }
  .pricing-grid         { grid-template-columns: 1fr 1fr; }
  .footer-grid          { grid-template-columns: 1fr; gap: 2rem; }
  .form-row             { grid-template-columns: 1fr; }

  .stats-bar { grid-template-columns: repeat(2, 1fr); }

  .serve-grid   { grid-template-columns: repeat(2, 1fr); }
  .values-list  { grid-template-columns: 1fr; }

  .timeline        { grid-template-columns: 1fr; gap: 2rem; }
  .timeline::before { display: none; }

  .analytics-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-bar    { grid-template-columns: 1fr 1fr; }
  .serve-grid   { grid-template-columns: repeat(2, 1fr); }
  .hero-ctas    { flex-direction: column; }
  .hero-ctas .btn { text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
