:root {
  --background: #ffffff;
  --foreground: #262626;
  --primary: #1e8552;
  --primary-foreground: #ffffff;
  --secondary: #f2f7f4;
  --muted-foreground: #666666;
  --border: #dee5e0;
  --radius: 0.5rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}

a { color: inherit; }

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 0.5rem;
}
.max-3 { max-width: 48rem; margin: 0 auto; }
.max-4 { max-width: 56rem; margin: 0 auto; }
.max-5 { max-width: 64rem; margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .2s, background .2s;
  text-decoration: none;
}
.btn:hover { opacity: .9; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-secondary { background: var(--secondary); color: var(--foreground); }
.btn-sm { height: 2.25rem; padding: 0 .75rem; font-size: .875rem; }
.btn-lg { height: 2.75rem; padding: 0 3rem; font-size: 1rem; }

/* Header */
.site-header { background: var(--primary); padding: 1.25rem 1.5rem; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-foreground);
  text-decoration: none;
}
.header-right { display: flex; align-items: center; gap: 1rem; }
.desktop-nav { display: none; align-items: center; gap: 1.5rem; }
.desktop-nav a,
.mobile-nav a {
  color: rgba(255, 255, 255, .9);
  text-decoration: none;
  font-size: .875rem;
}
.desktop-nav a:hover, .mobile-nav a:hover { color: #fff; }
.menu-toggle {
  background: none;
  border: none;
  color: #fff;
  padding: .25rem;
  cursor: pointer;
  display: inline-flex;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: .75rem;
  margin: 1rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.mobile-nav.open { display: flex; }

/* Hero */
.hero { padding: 5rem 1.5rem; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero h1 { font-size: 2.25rem; font-weight: bold; margin: 0 0 1.5rem; line-height: 1.15; }
.hero p { color: var(--muted-foreground); margin: 0 0 1rem; }
.hero p.lead { font-size: 1.125rem; }
.hero p.second { margin-bottom: 2rem; }
.hero-card {
  border-radius: 1rem;
  padding: 1rem;
  text-align: center;
}
.hero-card .stat { font-size: 2.25rem; font-weight: bold; color: var(--primary); margin-bottom: 1rem; }
.hero-card p { color: var(--muted-foreground); margin: 0; }

/* Features */
.features { background: var(--secondary); padding: 4rem 1.5rem; }
.feature-list { display: flex; flex-direction: column; gap: 1.5rem; }
.feature {
  background: var(--background);
  border-radius: .75rem;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: box-shadow .2s;
}
.feature:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1); }
.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  background: rgba(30, 133, 82, .1);
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.feature h3 { font-size: 1.125rem; margin: 0 0 .25rem; }
.feature p { font-size: .875rem; color: var(--muted-foreground); margin: 0; }

/* Steps */
.steps {
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps h2 { font-size: 1.875rem; margin: 0 0 .75rem; }
.steps > .max-5 > p { color: var(--muted-foreground); margin: 0 0 2.5rem; }
.steps-grid { display: grid; gap: 1.5rem; }
.step {
  background: rgba(30, 133, 82, .05);
  border-radius: .75rem;
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
}
.step .num { font-size: 1.875rem; font-weight: bold; color: var(--primary); margin-bottom: .75rem; }
.step h3 { font-size: 1.125rem; margin: 0; }

/* Contacts */
.contacts { padding: 4rem 1.5rem; text-align: center; }
.contacts h2 { font-size: 1.5rem; margin: 0 0 1.5rem; }
.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: var(--secondary);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  color: var(--primary);
}
.contact-pill a { color: var(--foreground); font-weight: 500; text-decoration: none; }
.contact-pill a:hover { color: var(--primary); }

/* About */
.about { padding: 5rem 1.5rem; }
.about h1 { font-size: 2.25rem; margin: 0 0 1.5rem; }
.about .prose p { color: var(--muted-foreground); margin: 0 0 1rem; }
.about .prose a { color: var(--primary); }

/* Footer */
.site-footer { background: var(--secondary); padding: 2rem 1.5rem; text-align: center; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: .875rem;
}
.link-btn {
  background: none;
  border: none;
  font: inherit;
  color: var(--foreground);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.link-btn:hover { color: var(--primary); }
.copyright { margin-top: 1.5rem; font-size: .75rem; color: var(--muted-foreground); }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 50;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--background);
  border-radius: .75rem;
  max-width: 42rem;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 1.5rem;
  text-align: left;
  position: relative;
}
.modal h2 { margin: 0 0 .25rem; font-size: 1.125rem; }
.modal .modal-desc { margin: 0 0 1rem; font-size: .875rem; color: var(--muted-foreground); }
.modal-body p { font-size: .875rem; color: var(--muted-foreground); line-height: 1.7; margin: 0 0 1rem; }
.modal-body strong { color: var(--foreground); font-weight: 500; }
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted-foreground);
  padding: .25rem;
  line-height: 0;
}

@media (min-width: 768px) {
  .container { max-width: 1400px; }
  .desktop-nav { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
  .hero h1 { font-size: 3rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}
