@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Source+Serif+4:wght@600;700&display=swap");

:root {
  --green: #2d6a3e;
  --green-hot: #245833;
  --cream: #f4f1e8;
  --ink: #1c2419;
  --muted: #5c6356;
  --line: #d9d4c6;
  --white: #fff;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

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

.brand img {
  height: 42px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 1.15rem;
  align-items: center;
}

.site-nav a {
  font-size: 0.88rem;
  font-weight: 600;
}

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

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 4px;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 2px;
  border: 1px solid transparent;
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-green:hover {
  background: var(--green-hot);
}

.btn-ghost {
  border-color: var(--line);
}

.hero {
  padding: 4.5rem 0 3.5rem;
  background:
    linear-gradient(105deg, rgba(28, 36, 25, 0.82), rgba(28, 36, 25, 0.4)),
    url("../images/hero.jpg") center / cover no-repeat;
  color: var(--white);
}

.hero p {
  max-width: 46rem;
  color: #e6e2d6;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.section {
  padding: 3.75rem 0;
}

.section.alt {
  background: var(--cream);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 1.25rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1.25rem;
}

.card h3 {
  color: var(--green);
}

.form {
  display: grid;
  gap: 0.85rem;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 1.4rem;
}

.form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  font: inherit;
}

.form textarea {
  min-height: 110px;
}

.form-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.site-footer {
  background: #1c2419;
  color: #c9cfc4;
  padding: 2rem 0 1.5rem;
  font-size: 0.9rem;
}

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.8rem 1.2rem;
  }
}
