:root {
  --green-950: #0f2419;
  --green-900: #183C2B;
  --green-800: #214833;
  --green-700: #2f5c42;
  --green-600: #3F6B4F;
  --green-500: #557f5f;
  --green-400: #6F8F62;
  --green-300: #8aa67c;
  --sand-100: #f3efe6;
  --sand-200: #e7e0d2;
  --sand-300: #d5ccb8;
  --cream: #f7f4ee;
  --ink: #142018;
  --muted: #4d5a50;
  --white: #ffffff;
  --border: rgba(24, 60, 43, 0.12);
  --shadow: 0 18px 40px rgba(15, 36, 25, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1120px;
  --header-h: 84px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(167, 184, 149, 0.28), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(63, 107, 79, 0.12), transparent 55%),
    linear-gradient(180deg, var(--cream), var(--sand-100) 40%, #efe9dc);
  min-height: 100vh;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green-800);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--green-600);
}

p { margin: 0 0 1rem; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--green-900);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--green-900);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.9rem 1.45rem;
  font: 600 0.95rem/1 var(--font-body);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--green-900);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-700);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.btn-small {
  padding: 0.7rem 1.1rem;
  font-size: 0.88rem;
}
.btn-block { width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 238, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px rgba(15, 36, 25, 0.06);
  background: rgba(247, 244, 238, 0.96);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.85rem;
  background:
    radial-gradient(circle at 50% 28%, #a7b895 0 28%, transparent 29%),
    radial-gradient(circle at 50% 58%, #6f8f62 0 42%, transparent 43%),
    var(--green-900);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.85rem);
  font-weight: 700;
  color: var(--green-900);
  letter-spacing: 0.01em;
}

.logo-sub {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: var(--green-900);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover {
  border-bottom-color: var(--green-400);
  color: var(--green-700);
}

.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: rgba(255,255,255,0.55);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 1.15rem;
  height: 2px;
  background: var(--green-900);
  border-radius: 2px;
}

.nav-mobile {
  border-top: 1px solid var(--border);
  background: rgba(247, 244, 238, 0.98);
}

.nav-mobile-list {
  list-style: none;
  margin: 0;
  padding: 1rem 1.25rem 1.5rem;
  display: grid;
  gap: 0.35rem;
}

.nav-mobile-list a {
  display: block;
  text-decoration: none;
  color: var(--green-900);
  padding: 0.85rem 0.25rem;
  font-weight: 600;
}

@media (min-width: 961px) {
  .nav-desktop { display: flex; }
  .nav-toggle, .nav-mobile { display: none !important; }
}

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,36,25,0.28) 0%, rgba(15,36,25,0.55) 45%, rgba(15,36,25,0.82) 100%),
    linear-gradient(90deg, rgba(15,36,25,0.55), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 10vh, 7rem) 0 clamp(3rem, 6vh, 4.5rem);
  max-width: 40rem;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.2rem);
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  color: rgba(255,255,255,0.9);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
}

.section-muted {
  background: rgba(255,255,255,0.42);
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.section-head .eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--green-600);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: clamp(2rem, 1.35rem + 2.2vw, 3.25rem);
  margin-bottom: 0.85rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-grid,
.feature-grid,
.about-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 900px) {
  .intro-grid,
  .feature-grid,
  .about-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
  .feature-grid.is-reverse .feature-copy { order: 2; }
  .feature-grid.is-reverse .feature-media { order: 1; }
}

.media-frame {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--green-900);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.services-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

.service-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.45rem;
  min-height: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card .icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: linear-gradient(160deg, var(--green-400), var(--green-800));
  color: var(--white);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}

.service-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

.service-card a {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 650;
  text-decoration: none;
}

.care-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .care-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
  .care-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.care-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(243,239,230,0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: 0 10px 28px rgba(15, 36, 25, 0.05);
}

.care-card .care-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  background: rgba(24, 60, 43, 0.08);
  color: var(--green-800);
}

.care-card h3 {
  font-size: 1.15rem;
}

.care-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.feature-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green-500);
}

.projects-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .projects-grid {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
  }
  .project-card:first-child {
    grid-row: 1 / span 2;
  }
  .project-card:first-child .project-media img {
    min-height: 100%;
    aspect-ratio: 3 / 4;
  }
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-900);
  box-shadow: var(--shadow);
  min-height: 240px;
}

.project-media,
.project-media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.project-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(15,36,25,0.88));
  color: var(--white);
}

.project-caption h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin: 0 0 0.25rem;
}

.project-caption p {
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
}

.cta-band {
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.cta-band .cta-media {
  position: absolute;
  inset: 0;
}

.cta-band .cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band .cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,36,25,0.88), rgba(15,36,25,0.55));
}

.cta-inner {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  max-width: 38rem;
}

.cta-inner h2 {
  color: var(--white);
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
}

.cta-inner p {
  color: rgba(255,255,255,0.88);
  margin-bottom: 1.5rem;
}

.contact-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.contact-panel,
.contact-form,
.legal-content {
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-panel {
  padding: 1.5rem;
}

.contact-panel h3 {
  margin-bottom: 0.5rem;
}

.contact-meta {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.contact-meta li {
  color: var(--muted);
}

.contact-form {
  padding: 1.5rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--green-900);
  font-size: 0.92rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(24, 60, 43, 0.18);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  font: inherit;
  color: var(--ink);
  background: rgba(255,255,255,0.9);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(63, 107, 79, 0.35);
  border-color: var(--green-600);
}

textarea { min-height: 150px; resize: vertical; }

.checkbox {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-weight: 500;
  color: var(--muted);
}

.checkbox input {
  width: auto;
  margin-top: 0.25rem;
}

.hp-field {
  position: absolute;
  left: -10000px;
  opacity: 0;
  pointer-events: none;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
}

.form-note,
.field-error {
  color: #8a2f2f;
  font-size: 0.88rem;
  margin: 0;
}

.form-success {
  background: rgba(63, 107, 79, 0.1);
  border: 1px solid rgba(63, 107, 79, 0.25);
  color: var(--green-900);
  padding: 0.9rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.form-error {
  background: rgba(138, 47, 47, 0.08);
  border: 1px solid rgba(138, 47, 47, 0.2);
  color: #6d2424;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.site-footer {
  background: var(--green-950);
  color: rgba(255,255,255,0.82);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 0.8fr;
  }
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.footer-tagline,
.footer-mail {
  color: rgba(255,255,255,0.72);
}

.footer-mail a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}

.footer-heading {
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.footer-nav ul,
.footer-legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-nav a,
.footer-legal a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
}

.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.page-hero {
  padding: 3.5rem 0 2rem;
  background:
    linear-gradient(180deg, rgba(24,60,43,0.08), transparent),
    rgba(255,255,255,0.35);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
}

.legal-shell {
  padding: 2rem 0 4rem;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 1.25rem;
  text-decoration: none;
  font-weight: 650;
}

.legal-content {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 1.75rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-placeholder {
  background: rgba(24, 60, 43, 0.06);
  border: 1px dashed rgba(24, 60, 43, 0.25);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.icon svg,
.care-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
