@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&family=Libre+Franklin:wght@300;400;500&display=swap');

/* ===== CSS Variables ===== */
:root {
  --green-darkest: #0B1F0E;
  --green-dark: #1A3321;
  --green-mid: #2A5435;
  --green-light: #3D7A4A;
  --green-muted: #4A6B50;
  --yellow: #D4A632;
  --yellow-light: #E8C35A;
  --yellow-glow: rgba(212, 166, 50, 0.15);
  --cream: #F6F3EC;
  --cream-dark: #EBE6DA;
  --white: #FAFAF8;
  --text-dark: #0B1F0E;
  --text-mid: #3A4F3E;
  --text-light: #C8D4CA;
  --text-on-dark: #E2E8E3;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Sora', sans-serif;
  line-height: 1.2;
  font-weight: 600;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 2rem;
  background: var(--green-darkest);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s ease;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo .cog-icon {
  color: var(--yellow);
  font-size: 1.1rem;
}

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

.nav-links a {
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--yellow);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--yellow);
  border-radius: 1px;
}

.nav-cta {
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green-darkest) !important;
  background: var(--yellow);
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  background: var(--yellow-light) !important;
  color: var(--green-darkest) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== Hero Sections ===== */
.hero {
  background: var(--green-darkest);
  padding: 10rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(42, 84, 53, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--yellow-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--white);
  max-width: 700px;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  color: var(--yellow);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--yellow);
  background: var(--yellow-glow);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(212, 166, 50, 0.2);
  margin-bottom: 2rem;
  letter-spacing: 0.03em;
}

/* Page heroes (smaller) */
.hero-page {
  padding: 9rem 2rem 4rem;
}

.hero-page h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 1rem;
}

.hero-page p {
  margin-bottom: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--yellow);
  color: var(--green-darkest);
}

.btn-primary:hover {
  background: var(--yellow-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(212, 166, 50, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.btn-dark {
  background: var(--green-darkest);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(11, 31, 14, 0.3);
}

/* ===== Sections ===== */
.section {
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-dark {
  background: var(--green-darkest);
  color: var(--text-on-dark);
}

.section-cream {
  background: var(--cream);
}

.section-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.section-subtitle {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 550px;
  font-weight: 300;
  margin-bottom: 3rem;
}

.section-dark .section-subtitle {
  color: var(--text-light);
}

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

.card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.1);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--yellow-glow);
  border: 1px solid rgba(212, 166, 50, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  font-weight: 300;
}

/* Dark cards */
.card-dark {
  background: var(--green-dark);
  border-color: rgba(255,255,255,0.06);
}

.card-dark:hover {
  border-color: rgba(212, 166, 50, 0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.card-dark h3 {
  color: var(--white);
}

.card-dark p {
  color: var(--text-light);
}

/* ===== Steps / Process ===== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
  position: relative;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  align-items: start;
}

.step:last-child {
  border-bottom: none;
}

.step-number {
  font-family: 'Sora', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  opacity: 0.7;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  font-weight: 300;
  max-width: 500px;
}

.section-dark .step {
  border-color: rgba(255,255,255,0.08);
}

.section-dark .step p {
  color: var(--text-light);
}

.section-dark .step h3 {
  color: var(--white);
}

/* ===== Stats Bar ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 4rem 2rem;
  background: var(--green-dark);
  text-align: center;
}

.stat {
  padding: 1rem;
}

.stat-number {
  font-family: 'Sora', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.25rem;
  font-weight: 300;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 6rem 2rem;
  background: var(--green-darkest);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--yellow-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

.cta-section .btn {
  position: relative;
  z-index: 1;
}

/* ===== Contact Form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--yellow-glow);
  border: 1px solid rgba(212, 166, 50, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail span {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.contact-detail a {
  color: var(--green-mid);
  font-weight: 500;
}

.contact-detail a:hover {
  color: var(--yellow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: 'Sora', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  background: var(--white);
  color: var(--text-dark);
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(42, 84, 53, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ===== Footer ===== */
.footer {
  background: var(--green-darkest);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo .cog-icon {
  color: var(--yellow);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-light);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(200, 212, 202, 0.5);
}

/* ===== About Page Values ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-item {
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  background: var(--white);
}

.value-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.value-item p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  font-weight: 300;
}

/* ===== Two Column Layout ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.two-col-text p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
}

.section-dark .two-col-text p {
  color: var(--text-light);
}

.two-col-visual {
  background: var(--cream);
  border-radius: 16px;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.section-dark .two-col-visual {
  background: var(--green-dark);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--green-darkest);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

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

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 8rem 1.5rem 4rem;
  }

  .hero-page {
    padding: 7rem 1.5rem 3rem;
  }

  .section {
    padding: 4rem 1.5rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 3rem 1.5rem;
  }

  .step {
    grid-template-columns: 50px 1fr;
    gap: 1rem;
  }

  .step-number {
    font-size: 2rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cta-section {
    padding: 4rem 1.5rem;
  }
}
