:root {
  --bg: #f3f7f1;
  --surface: #ffffff;
  --text: #13212d;
  --muted: #4f6172;
  --primary: #0f766e;
  --primary-dark: #0d5f58;
  --secondary: #c47a1f;
  --secondary-soft: #ffe8c8;
  --stroke: #d5e0db;
  --footer: #11222c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: radial-gradient(circle at 10% 5%, #ffffff 0%, var(--bg) 42%, #e8f0eb 100%);
}
h1, h2, h3 {
  margin: 0;
  line-height: 1.15;
  font-family: 'Space Grotesk', sans-serif;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  margin: 0;
  padding-inline: clamp(1rem, 3vw, 2.8rem);
}

.section { padding: clamp(3.4rem, 6vw, 5rem) 0; }
.eyebrow {
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
}

.topbar {
  background: #d5e9df;
  border-bottom: 1px solid #bcd5c9;
  font-size: 0.86rem;
}
.topbar-content {
  min-height: 2.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.topbar-content a { color: var(--primary-dark); font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(243, 247, 241, 0.93);
  border-bottom: 1px solid var(--stroke);
}
.nav-wrap {
  min-height: 4.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: relative;
}
.brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f3f57;
}
.site-nav { display: flex; align-items: center; gap: 1.3rem; }
.site-nav a {
  font-weight: 600;
  color: #264252;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a.is-active {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
}
.nav-toggle {
  display: none;
  border: 1px solid var(--stroke);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3.3rem, 6vw, 5.3rem);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(15, 118, 110, 0.14), rgba(196, 122, 31, 0.14) 50%, transparent 85%);
  pointer-events: none;
}
.hero-grid,
.spotlight-grid,
.report-grid,
.newsletter-wrap,
.contact-grid,
.form-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: center;
}
.hero-copy h1 { font-size: clamp(2rem, 4.4vw, 3.7rem); max-width: 18ch; }
.lead { margin-top: 1.2rem; color: var(--muted); max-width: 60ch; }
.lead-inline { margin-top: 1rem; color: var(--muted); }
.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.hero-art img,
.spotlight-image img,
.report-art img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--stroke);
}

.section-head { max-width: 66ch; margin-bottom: 1.7rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.65rem); }

.service-grid,
.stat-grid,
.insight-grid,
.footer-grid {
  display: grid;
  gap: 1rem;
}
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.insight-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card,
.insight-card,
.contact-card,
.stat,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 16px;
}
.card,
.contact-card,
.stat,
.insight-body,
.contact-form {
  padding: 1.15rem;
}
.card-tag {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #7d4500;
  background: #ffefda;
}
.card p { color: var(--muted); }

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1.3rem;
  font-weight: 700;
  cursor: pointer;
}
.btn-primary { background: var(--primary); color: #f8fffd; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--secondary-soft); color: #7d4500; }

.spotlight { background: linear-gradient(180deg, #edf5f2 0%, #e6f0ec 100%); }
.report { background: #fdfaf4; }
.newsletter { background: linear-gradient(135deg, #d7ebe3 0%, #ffefd7 100%); }
.newsletter-wrap {
  border: 1px solid #cbdccf;
  border-radius: 24px;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.82);
}
.cta-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.stats {
  color: #e8f0ee;
  background: linear-gradient(140deg, #0f3f57, #0a554f 45%, #246b55 100%);
}
.stat { background: rgba(255, 255, 255, 0.06); }
.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
}
.stat-value::after {
  content: '+';
  margin-left: 2px;
  color: #ffd8a8;
}

.insight-card { overflow: hidden; }
.insight-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.insight-body p { color: var(--muted); }
.insight-meta {
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #6b7e8e;
}

.contact-form-section { background: #eef4f0; }
.contact-form { display: grid; gap: 0.6rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #becfc5;
  border-radius: 10px;
  padding: 0.72rem 0.8rem;
  font: inherit;
}
.contact-form .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.2rem;
}
.contact-form .checkbox input {
  width: auto;
  margin-top: 0.2rem;
}
.field-error {
  margin-top: -0.2rem;
  margin-bottom: 0.2rem;
  color: #8b1e1e;
  font-size: 0.85rem;
  font-weight: 600;
}
.form-alert {
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
}
.form-alert.is-error {
  background: #ffe0e0;
  color: #7e1818;
}
.form-alert.is-success {
  background: #dbf3e9;
  color: #0e5f3d;
}

.site-footer {
  background: var(--footer);
  color: #d7e4ea;
  padding: 3.1rem 0 1.6rem;
}
.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer-brand,
.footer-title {
  font-family: 'Space Grotesk', sans-serif;
  color: #ffffff;
}
.footer-bottom {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.87rem;
  color: #b8c8cf;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .service-grid,
  .stat-grid,
  .insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-grid,
  .spotlight-grid,
  .report-grid,
  .newsletter-wrap,
  .contact-grid,
  .form-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar-content p { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.6rem);
    padding: 0.9rem;
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: all 0.2s ease;
  }
  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 620px) {
  .section { padding: 3.7rem 0; }
  .service-grid,
  .stat-grid,
  .insight-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
