/* ============================================
   BASE — Reset, Variables, Typography
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Greens */
  --green-50:  #e8f5e9;
  --green-100: #c8e6c9;
  --green-200: #a5d6a7;
  --green-300: #81c784;
  --green-400: #66bb6a;
  --green-500: #4caf50;
  --green-600: #43a047;
  --green-700: #388e3c;
  --green-800: #2e7d32;
  --green-900: #1b5e20;

  /* Neutrals */
  --white:     #ffffff;
  --gray-50:   #f8faf8;
  --gray-100:  #f1f5f1;
  --gray-200:  #e4ebe4;
  --gray-300:  #d1dbd1;
  --gray-400:  #a8b8a8;
  --gray-500:  #7d917d;
  --gray-600:  #5a6b5a;
  --gray-700:  #3d4d3d;
  --gray-800:  #2a352a;
  --gray-900:  #1a221a;
  --black:     #0a0f0a;

  /* Dark tones for hero */
  --dark-900:  #0a0f0a;
  --dark-800:  #101810;
  --dark-700:  #152015;

  /* Gradients */
  --gradient-hero:     linear-gradient(135deg, #0a0f0a 0%, #101810 25%, #1b5e20 60%, #2e7d32 85%, #388e3c 100%);
  --gradient-hero-alt: linear-gradient(160deg, #080d08 0%, #0d1a0d 30%, #14441b 55%, #1b5e20 75%, #2e7d32 100%);
  --gradient-cta:      linear-gradient(135deg, #080d08 0%, #0d1a0d 40%, #1b5e20 100%);
  --gradient-green:    linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #43a047 100%);
  --gradient-card:     linear-gradient(145deg, rgba(255,255,255,0.97), rgba(248,250,248,0.92));
  --gradient-glass:    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));

  /* Shadows */
  --shadow-xs:    0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-xl:    0 20px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);
  --shadow-2xl:   0 32px 80px rgba(0,0,0,0.16);
  --shadow-green: 0 8px 32px rgba(46,125,50,0.35);
  --shadow-glow:  0 0 40px rgba(76,175,80,0.15);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --section-py:    120px;
  --container-max: 1200px;

  /* Radius */
  --radius-xs:  6px;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  20px;
  --radius-2xl: 24px;
  --radius-3xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-out-expo);
  --transition-base: 0.35s var(--ease-out-expo);
  --transition-slow: 0.6s var(--ease-out-expo);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography Utilities ---------- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  background: rgba(46, 125, 50, 0.08);
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--green-200);
  border: 1px solid rgba(255,255,255,0.08);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.section-title.light {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--gray-500);
  max-width: 580px;
  line-height: 1.75;
}

.section-subtitle.light {
  color: rgba(255, 255, 255, 0.65);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}
