:root {
  --site-primary: #006b4a;
  --site-primary-dark: #004824;
  --site-primary-light: #6cb1a0;
  --site-secondary: #387e8c;
  --site-accent: #a84279;
  --site-surface: #f7f7f7;
  --site-text-secondary: #4d5f5a;
  --bs-body-bg: #f5fff8;
  --bs-body-color: #001e15;
  --bs-body-font-family: 'Manrope', sans-serif;
  --bs-link-color: #006b4a;
  --bs-link-hover-color: #004824;
}

body {
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  font-family: var(--bs-body-font-family);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
}

a { color: var(--site-primary); }
a:hover { color: var(--site-primary-dark); }

.btn-primary { background-color: var(--site-primary); border-color: var(--site-primary); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background-color: var(--site-primary-dark); border-color: var(--site-primary-dark); color: #fff; }
.btn-outline-primary { color: var(--site-primary); border-color: var(--site-primary); background-color: transparent; }
.btn-outline-primary:hover, .btn-outline-primary:focus { background-color: var(--site-primary); border-color: var(--site-primary); color: #fff; }
.bg-primary { background-color: var(--site-primary) !important; }
.text-primary { color: var(--site-primary) !important; }
.border-primary { border-color: var(--site-primary) !important; }

/* ---------- Section rhythm: consistent bg with hairline borders ---------- */
.section {
  background: var(--bs-body-bg);
  border-bottom: 1px solid rgba(56, 126, 140, 0.25);
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.section.alt {
  background: var(--site-surface);
}
.section:last-of-type {
  border-bottom: none;
}

.max-w-prose {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.text-secondary-site {
  color: var(--site-text-secondary);
}

/* ---------- Buttons — shape only ---------- */
.btn {
  border-radius: 8px;
  padding: 0.65rem 1.4rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 2px 2px 0 currentColor;
  border-width: 2px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease;
}
.btn:hover {
  transform: translate(-1px, -1px);
}
.btn-lg { border-radius: 10px; }

/* soft-with-inset-shadow variant for secondary/utility buttons */
.btn-soft {
  background-color: var(--site-surface);
  color: var(--site-primary);
  border: none;
  border-radius: 12px;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.08);
}
.btn-soft:hover {
  background-color: #ececec;
  color: var(--site-primary-dark);
}

/* ---------- Cards (grids only) ---------- */
.card {
  border: 1px solid rgba(56, 126, 140, 0.2);
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--site-accent);
  background: #fff;
  transition: transform 0.15s ease;
}
.card:hover {
  transform: translate(-2px, -2px);
}
.card-body {
  padding: 1.75rem;
}

/* ---------- Forms ---------- */
.form-control, .form-select {
  border-radius: 6px;
  border: 1px solid rgba(56, 126, 140, 0.35);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.05);
  padding: 0.6rem 0.9rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--site-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 107, 74, 0.15);
}
label.form-label {
  font-weight: 600;
  color: var(--bs-body-color);
}

/* ---------- Images ---------- */
img {
  border-radius: 8px;
}

/* ---------- Navbar ---------- */
.navbar {
  transition: padding 0.25s ease, box-shadow 0.25s ease;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  background: var(--bs-body-bg);
}
.navbar.scrolled {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.navbar-brand img.logo-mark {
  height: 44px;
  width: 44px;
  transition: height 0.25s ease, width 0.25s ease;
  border-radius: 8px;
}
.navbar.scrolled .navbar-brand img.logo-mark {
  height: 32px;
  width: 32px;
}
.navbar-brand span {
  font-weight: 800;
  font-family: 'Manrope', sans-serif;
}
.nav-link {
  font-weight: 600;
}

/* ---------- Hero ---------- */
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--site-secondary);
  font-size: 0.85rem;
}
.hero-title {
  font-size: 2.5rem;
  line-height: 1.15;
}
@media (min-width: 768px) {
  .hero-title { font-size: 3rem; }
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--site-text-secondary);
}
.hero-img {
  border-radius: 12px;
  box-shadow: 4px 4px 0 var(--site-primary-light);
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--site-primary-dark);
  color: #eafff5;
  padding-top: 4rem;
  padding-bottom: 3rem;
}
footer.site-footer a {
  color: #cfeee2;
  text-decoration: none;
}
footer.site-footer a:hover {
  color: #ffffff;
}
footer.site-footer .footer-logo {
  height: 84px;
  border-radius: 10px;
}
footer.site-footer h6 {
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
footer.site-footer hr {
  border-color: rgba(255,255,255,0.15);
}

/* ---------- Niche tiles / grid cards ---------- */
.niche-card {
  height: 100%;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: #ffffff;
  border-top: 1px solid rgba(56,126,140,0.3);
  box-shadow: 4px 4px 0 var(--site-accent);
  padding: 1.25rem 1rem;
  display: none;
}
.cookie-banner.show {
  display: block;
}

/* ---------- Reveal (motion) ---------- */
.reveal {
  opacity: 0;
}

/* ---------- Asymmetric utility ---------- */
.asym-offset {
  margin-top: 2.5rem;
}
@media (min-width: 992px) {
  .asym-offset-lg {
    margin-top: 4rem;
  }
}
