:root {
  --forest-dark: #1A3622;
  --forest-mid: #2D5A3F;
  --forest-light: #E8F0EA;
  --forest-accent: #4A7C59;
  --earth-warm: #D4A373;
  --text-main: #2C352E;
  --text-mute: #5C6E61;
  --bg-pure: #FFFFFF;
  --bg-off: #F7F9F8;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --font-friendly: 'Quicksand', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-friendly);
  color: var(--text-main);
  background-color: var(--bg-pure);
  line-height: 1.6;
  font-size: 17px;
}

img.eg-fluid-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

a {
  color: var(--forest-mid);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--forest-accent);
}

a.eg-inline-link {
  text-decoration: underline;
  text-decoration-color: var(--earth-warm);
  text-decoration-thickness: 2px;
  font-weight: 600;
}

/* Header & Nav */
.eg-site-head {
  background-color: var(--bg-pure);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--forest-light);
  padding: 1rem 0;
}

.eg-nav-boundary {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.eg-logo-mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--forest-dark);
}

.eg-logo-mark svg {
  color: var(--forest-mid);
}

.eg-main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.eg-main-nav a {
  font-weight: 600;
  color: var(--text-main);
}

.eg-main-nav a:hover {
  color: var(--forest-mid);
}

.eg-sub-link {
  font-size: 0.9rem;
  color: var(--text-mute) !important;
}

/* Typography */
.eg-headline-jumbo {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  color: var(--forest-dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.eg-section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--forest-dark);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.eg-center-text {
  text-align: center;
}

/* Buttons */
.eg-btn-primary, .eg-btn-secondary {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.eg-btn-primary {
  background-color: var(--forest-mid);
  color: var(--bg-pure);
}

.eg-btn-primary:hover {
  background-color: var(--forest-dark);
  color: var(--bg-pure);
  transform: translateY(-2px);
}

.eg-btn-secondary {
  background-color: transparent;
  border-color: var(--forest-mid);
  color: var(--forest-mid);
}

.eg-btn-secondary:hover {
  background-color: var(--forest-light);
}

.eg-full-width {
  width: 100%;
}

/* Hero */
.eg-hero-stage {
  max-width: 1000px;
  margin: 4rem auto 6rem;
  padding: 0 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eg-hero-content-core {
  max-width: 800px;
  margin-bottom: 3.5rem;
}

.eg-friendly-badge {
  display: inline-block;
  background-color: var(--forest-light);
  color: var(--forest-mid);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.eg-hero-subtext {
  font-size: 1.25rem;
  color: var(--text-mute);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-inline: auto;
}

.eg-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.eg-hero-visual-frame {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(26, 54, 34, 0.1);
}

/* Story / About */
.eg-story-sector {
  background-color: var(--bg-off);
  padding: 6rem 2rem;
}

.eg-story-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: center;
}

.eg-story-text-pane {
  flex: 1;
}

.eg-story-text-pane p {
  margin-bottom: 1.25rem;
  color: var(--text-mute);
}

.eg-metrics-cluster {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  border-top: 1px solid #E0E5E2;
  padding-top: 2rem;
}

.eg-metric-item {
  display: flex;
  flex-direction: column;
}

.eg-metric-num {
  font-size: 3rem;
  font-weight: 700;
  color: var(--earth-warm);
  line-height: 1;
}

.eg-metric-suffix {
  font-size: 2rem;
  font-weight: 700;
  color: var(--earth-warm);
}

.eg-metric-label {
  font-size: 0.9rem;
  color: var(--forest-mid);
  font-weight: 600;
  margin-top: 0.5rem;
}

.eg-story-image-pane {
  flex: 1;
  position: relative;
}

.eg-story-image-pane img {
  border-radius: var(--radius-md);
}

.eg-tiny-caption {
  font-size: 0.8rem;
  color: var(--text-mute);
  text-align: right;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Capabilities / Services */
.eg-capabilities-zone {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.eg-cap-header {
  max-width: 600px;
  margin-bottom: 4rem;
}

.eg-cap-header p {
  color: var(--text-mute);
  font-size: 1.1rem;
}

.eg-cap-grid-asymmetric {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  grid-auto-rows: minmax(250px, auto);
}

.eg-cap-card {
  background: var(--bg-pure);
  border: 1px solid var(--forest-light);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
}

.eg-cap-card h3 {
  color: var(--forest-dark);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.eg-cap-card p {
  color: var(--text-mute);
  font-size: 0.95rem;
}

.eg-card-wide {
  grid-column: span 2;
  background-color: var(--forest-dark);
  color: var(--bg-pure);
}

.eg-card-wide h3 {
  color: var(--earth-warm);
}

.eg-card-wide p {
  color: var(--forest-light);
}

.eg-process-list {
  margin-top: 1.5rem;
  padding-left: 1.2rem;
  color: var(--forest-light);
}

.eg-process-list li {
  margin-bottom: 0.75rem;
}

.eg-card-tall {
  grid-row: span 2;
}

.eg-card-img {
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  height: 200px;
}

/* Feedback / Testimonials */
.eg-feedback-arena {
  background-color: var(--forest-light);
  padding: 7rem 2rem;
}

.eg-feedback-masonry {
  max-width: 1200px;
  margin: 4rem auto 0;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.eg-feedback-block {
  flex: 1;
  background: var(--bg-pure);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(45, 90, 63, 0.08);
}

.eg-feedback-offset {
  margin-top: 3rem;
}

.eg-quote-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.eg-author-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.eg-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.eg-author-name {
  display: block;
  font-weight: 700;
  color: var(--forest-dark);
}

.eg-author-role {
  display: block;
  font-size: 0.8rem;
  color: var(--text-mute);
}

/* Contact */
.eg-contact-module {
  padding: 7rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.eg-contact-split {
  display: flex;
  gap: 5rem;
  align-items: center;
}

.eg-contact-info {
  flex: 1;
}

.eg-contact-info p {
  margin-bottom: 2rem;
  color: var(--text-mute);
  font-size: 1.1rem;
}

.eg-rounded-img {
  border-radius: var(--radius-md);
}

.eg-contact-form-wrapper {
  flex: 1;
  background-color: var(--bg-off);
  padding: 3rem;
  border-radius: var(--radius-md);
}

.eg-form-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.eg-input-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--forest-dark);
  font-size: 0.9rem;
}

.eg-input-group input,
.eg-input-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid #D0D8D3;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--bg-pure);
  transition: border-color 0.2s;
}

.eg-input-group input:focus,
.eg-input-group textarea:focus {
  outline: none;
  border-color: var(--forest-accent);
}

.eg-micro-disclaimer {
  font-size: 0.75rem;
  color: var(--text-mute);
  text-align: center;
  margin-top: 0.5rem;
}

/* Footer */
.eg-site-foot {
  background-color: var(--forest-dark);
  color: var(--forest-light);
  padding: 5rem 2rem 2rem;
}

.eg-foot-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.eg-foot-brand .eg-foot-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg-pure);
  display: block;
  margin-bottom: 1rem;
}

.eg-foot-brand p {
  color: #A0B2A6;
  max-width: 300px;
}

.eg-foot-contact h4, .eg-foot-legal h4 {
  color: var(--earth-warm);
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.eg-foot-contact p, .eg-foot-legal ul li {
  margin-bottom: 0.75rem;
  color: #A0B2A6;
  font-size: 0.95rem;
}

.eg-foot-legal ul {
  list-style: none;
}

.eg-foot-legal a, .eg-foot-contact a {
  color: #A0B2A6;
}

.eg-foot-legal a:hover, .eg-foot-contact a:hover {
  color: var(--bg-pure);
}

.eg-foot-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #798C80;
}

/* Generic Page (Privacy/Terms) Styles */
.eg-generic-page-wrap {
  max-width: 800px;
  margin: 5rem auto;
  padding: 0 2rem;
}

.eg-generic-page-wrap h1 {
  color: var(--forest-dark);
  margin-bottom: 2rem;
}

.eg-generic-page-wrap h2 {
  color: var(--forest-mid);
  margin: 2rem 0 1rem;
}

.eg-generic-page-wrap p {
  margin-bottom: 1rem;
  color: var(--text-mute);
}

/* Responsive */
@media (max-width: 992px) {
  .eg-story-layout,
  .eg-contact-split {
    flex-direction: column;
  }
  .eg-cap-grid-asymmetric {
    grid-template-columns: 1fr 1fr;
  }
  .eg-card-wide {
    grid-column: span 2;
  }
  .eg-feedback-masonry {
    flex-direction: column;
  }
  .eg-feedback-offset {
    margin-top: 0;
  }
  .eg-foot-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .eg-main-nav {
    display: none; /* Simplified for mobile in this demo */
  }
  .eg-headline-jumbo {
    font-size: 2.2rem;
  }
  .eg-cap-grid-asymmetric {
    grid-template-columns: 1fr;
  }
  .eg-card-wide {
    grid-column: span 1;
  }
  .eg-hero-stage {
    margin: 2rem auto 4rem;
  }
}
