:root {
  color-scheme: light;
  --ink: #18201b;
  --muted: #5c665f;
  --line: #d9ded6;
  --surface: #f8f7f1;
  --surface-strong: #eef2ea;
  --white: #ffffff;
  --green: #315f46;
  --green-dark: #1f4732;
  --clay: #b45c36;
  --gold: #c79b3b;
  --shadow: 0 20px 50px rgba(24, 32, 27, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(248, 247, 241, 0.92);
  border-bottom: 1px solid rgba(217, 222, 214, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav a {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--surface-strong);
  color: var(--green-dark);
}

.hero {
  min-height: clamp(560px, 78vh, 760px);
  display: grid;
  align-items: center;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(18, 31, 22, 0.82), rgba(18, 31, 22, 0.38)),
    url("/assets/img/backgrounds/home.jpg") center / cover,
    linear-gradient(135deg, #213e2d, #7c8f6a 58%, #c79b3b);
}

.hero__content {
  max-width: 980px;
}

blockquote {
  margin: 0;
}

blockquote p {
  max-width: 920px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 7vw, 6.6rem);
  line-height: 0.98;
  text-wrap: balance;
}

blockquote cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  font-weight: 800;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.section--muted {
  background: var(--surface-strong);
}

.section__inner {
  max-width: 1160px;
  margin: 0 auto;
}

.split,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

.intro .split {
  gap: clamp(48px, 9vw, 120px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 850px;
  margin-bottom: 0;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4vw, 3.3rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.prose {
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.22rem);
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose--wide {
  max-width: 820px;
}

.section-heading {
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 230px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-card__mark {
  display: block;
  width: 38px;
  height: 10px;
  margin-bottom: 30px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.service-card p,
.service-list p {
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: 18px;
}

.service-list article {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.page-hero {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px);
  background: linear-gradient(135deg, var(--surface-strong), #fffdf6);
  border-bottom: 1px solid var(--line);
}

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  background: var(--green);
  border: 0;
  border-radius: 6px;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  background: var(--green-dark);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 7px;
}

label {
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c8d0c5;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(49, 95, 70, 0.22);
  border-color: var(--green);
}

.screen-reader-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 26px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.form-status__spinner {
  display: none;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid rgba(49, 95, 70, 0.2);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.form-status.is-loading .form-status__spinner {
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-status__spinner {
    animation: none;
  }
}

.turnstile-slot {
  min-height: 1px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 5vw, 72px);
  background: #17231b;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer div {
  display: grid;
  gap: 2px;
}

.site-footer strong {
  color: var(--white);
}

.site-footer img {
  width: 118px;
  height: auto;
  filter: invert(1);
  opacity: 0.86;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer,
  .callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .nav {
    width: 100%;
  }

  .nav a {
    padding-inline: 8px;
  }

  .hero {
    min-height: 620px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
