:root {
  --bg: #f8fbfa;
  --surface: #ffffff;
  --surface-alt: #edf5f1;
  --text: #152033;
  --muted: #5f6b7c;
  --primary: #3b6b5d;
  --primary-dark: #234238;
  --border: #dbe2f0;
  --success: #e8fff0;
  --success-text: #166534;
  --error: #fff1f1;
  --error-text: #b42318;
  --shadow: 0 12px 40px rgba(16, 24, 40, 0.08);
  --radius: 18px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.narrow { width: min(calc(100% - 2rem), 760px); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 247, 251, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(219, 226, 240, 0.8);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.logo {
  font-weight: 800;
  font-size: 1.15rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.main-nav a {
  color: var(--muted);
  font-weight: 600;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  font: inherit;
}

.hero,
.page-hero {
  padding: 5rem 0 3rem;
}

.hero-grid,
.split,
.contact-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
}

.eyebrow {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
}

h1, h2, h3 {
  line-height: 1.15;
  margin: 0 0 1rem;
}

h1 { font-size: clamp(2.2rem, 4vw, 4rem); }
h2 { font-size: clamp(1.6rem, 2vw, 2.4rem); }
h3 { font-size: 1.2rem; }

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 64ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn:hover { background: var(--primary-dark); }
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-sm { padding: 0.75rem 1rem; }

.card,
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.section { padding: 2.5rem 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(36, 87, 245, 0.04)); }
.section-head { margin-bottom: 1.5rem; }

.cards {
  display: grid;
  gap: 1.25rem;
}

.three-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.check-list {
  padding-left: 1.2rem;
  margin: 0;
}

.site-footer {
  padding: 2.5rem 0;
  margin-top: 2rem;
  background: #12201b;
  color: #dce5f6;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-wrap a {
  display: block;
  margin-bottom: 0.5rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  font: inherit;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(36, 87, 245, 0.18);
  border-color: var(--primary);
}

.contact-form > * + * { margin-top: 1rem; }
.grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.alert {
  border-radius: 14px;
  padding: 1rem;
  font-weight: 600;
}
.alert-success {
  background: var(--success);
  color: var(--success-text);
}
.alert-error {
  background: var(--error);
  color: var(--error-text);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.legal-card p { margin: 0.5rem 0; }

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .contact-layout,
  .three-cols,
  .grid-two {
    grid-template-columns: 1fr;
  }

  .menu-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 1rem;
    right: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.is-open { display: flex; }
  .footer-wrap { flex-direction: column; }
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem 1.1rem;
}
.stat-card strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}
.muted { color: var(--muted); }
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: 1fr; }
}
