:root {
  --bg: #F6F6F0;
  --surface: #FFFFFF;
  --surface-soft: #E7E8DE;
  --surface-hover: #DDE0D2;
  --text: #2A2A25;
  --text-muted: #66675E;
  --heading: #4F513F;
  --primary: #6C7451;
  --primary-dark: #51593D;
  --primary-light: #EEF0E7;
  --accent: #A64B3C;
  --accent-dark: #843A2E;
  --border: #C8C9BE;
  --border-dark: #AAACA0;
  --shadow: 0 8px 28px rgba(63, 66, 48, 0.10);
  --radius: 12px;
  --nav-height: 72px;
  --hero-bg: linear-gradient(135deg, #F6F6F0 0%, #E7E8DE 100%);
  --section-alt: #E7E8DE;

  --bs-primary: #6C7451;
  --bs-primary-rgb: 108, 116, 81;
  --bs-link-color: #51593D;
  --bs-link-hover-color: #6C7451;
  --bs-body-bg: #F6F6F0;
  --bs-body-color: #2A2A25;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.navbar-shadow .site-navbar {
  box-shadow: 0 10px 30px rgba(63, 66, 48, 0.12);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
}

:focus-visible {
  outline: 3px solid rgba(108, 116, 81, 0.35);
  outline-offset: 3px;
}

h1,
h2,
h3,
.navbar-brand,
.section-eyebrow {
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
}

h1,
h2,
h3 {
  color: var(--heading);
}

h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
}

.container-xl {
  max-width: 1200px;
}

.section-shell {
  padding: 5rem 0;
}

.section-shell.alt {
  background: var(--section-alt);
}

.site-navbar {
  min-height: var(--nav-height);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--heading);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 10px 20px rgba(81, 89, 61, 0.18);
  flex: 0 0 auto;
}

.navbar .nav-link {
  color: var(--text);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus-visible,
.navbar .nav-link.active {
  color: var(--primary-dark);
  background: var(--primary-light);
}

.navbar-toggler {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
  box-shadow: none;
}

.hero {
  min-height: calc(80vh - var(--nav-height));
  display: flex;
  align-items: center;
  background: var(--hero-bg);
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(8px);
}

.hero::before {
  width: 16rem;
  height: 16rem;
  background: rgba(108, 116, 81, 0.10);
  top: -4rem;
  right: -4rem;
}

.hero::after {
  width: 14rem;
  height: 14rem;
  background: rgba(167, 75, 60, 0.08);
  bottom: -5rem;
  left: -3rem;
}

.hero .container-xl {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(200, 201, 190, 0.9);
  border-radius: calc(var(--radius) * 1.5);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(200, 201, 190, 0.9);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.stat-card strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
}

.stat-card span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.media-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.25);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 100%;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.section-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(63, 66, 48, 0.12);
  border-color: var(--primary);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary-dark);
  margin-bottom: 0.85rem;
  font-size: 1.1rem;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.96rem;
}

.content-panel {
  padding: 1.5rem;
  border-radius: calc(var(--radius) * 1.25);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(200, 201, 190, 0.9);
}

.cta-band {
  background: linear-gradient(135deg, #6C7451, #51593D);
  color: #fff;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
}

.btn-modern {
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-modern:hover,
.btn-modern:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(63, 66, 48, 0.14);
}

.btn-primary,
.btn-primary.btn-modern {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible,
.btn-primary.btn-modern:hover,
.btn-primary.btn-modern:focus-visible {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.btn-outline-primary {
  color: var(--primary-dark);
  border-color: var(--primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus-visible {
  background: var(--primary-light);
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}

.btn-outline-light.btn-modern {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-outline-light.btn-modern:hover,
.btn-outline-light.btn-modern:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.text-primary {
  color: var(--primary-dark) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.border-primary {
  border-color: var(--primary) !important;
}

.contact-wrap {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.25);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-card {
  padding: 1.25rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(63, 66, 48, 0.10);
  background: rgba(255, 255, 255, 0.72);
}

.contact-card:last-child {
  border-right: 0;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
}

.footer-links a {
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0;
  transition: color 0.25s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent-dark);
}

.contact-card a {
  color: var(--primary-dark);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  color: var(--accent-dark);
  transform: translateX(2px);
}

.footer-bottom {
  background: #5A6045;
  border-top: 1px solid var(--border-dark);
}

.footer-bottom,
.footer-bottom small,
.footer-bottom a,
.footer-bottom .text-muted {
  color: #FFFFFF !important;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #F6F6F0 !important;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top-btn {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 10px 22px rgba(63, 66, 48, 0.18);
  cursor: pointer;
  z-index: 1100;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top-btn:hover,
.scroll-top-btn:focus-visible {
  box-shadow: 0 14px 28px rgba(63, 66, 48, 0.24);
  transform: translateY(-2px);
}

.form-control,
.form-select {
  background-color: #FFFFFF;
  border-color: var(--border);
  color: var(--text);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(108, 116, 81, 0.20);
}

@media (max-width: 1199.98px) {
  .hero {
    min-height: auto;
    padding-top: 5rem;
    padding-bottom: 4rem;
  }

  .section-shell {
    padding: 4rem 0;
  }
}

@media (max-width: 991.98px) {
  .hero-stat-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    border-right: 0;
  }
}

@media (max-width: 767.98px) {
  .section-shell {
    padding: 3.5rem 0;
  }

  .hero {
    padding-top: 4.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-card {
    margin-top: 1.5rem;
  }

  .content-panel {
    padding: 1.25rem;
  }

  .navbar .nav-link {
    padding: 0.8rem 0.95rem;
  }
}

@media (max-width: 575.98px) {
  :root {
    --nav-height: 68px;
  }

  .container-xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }

  .hero-badge {
    font-size: 0.84rem;
  }

  .btn-modern {
    width: 100%;
    justify-content: center;
  }

  .hero .d-flex.gap-3 {
    flex-direction: column;
  }

  .contact-card {
    padding: 1rem;
  }

  .footer-bottom .d-flex {
    flex-direction: column;
    gap: 0.5rem;
  }

  .scroll-top-btn {
    right: 1rem;
    bottom: 1rem;
    width: 44px;
    height: 44px;
  }
}