:root {
  color: #2e342f;
  background: #faf9f6;
  font: 100%/1.55 system-ui, sans-serif;
  --green: #465649;
  --border: #c2c9bf;
}

* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
a { color: var(--green); }
button, input, textarea { font: inherit; }
:focus-visible { outline: 2px solid #2e342f; outline-offset: 3px; }

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

.header, .header nav, .brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.header { justify-content: space-between; padding-block: 1rem; }
.brand { font-size: 1.25rem; font-weight: 800; text-decoration: none; }
.header nav a { display: inline-block; padding-block: 0.375rem; }
.header nav [aria-current] { color: #2e342f; font-weight: 700; text-decoration: none; }

.hero, .contact {
  display: grid;
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.hero { align-items: center; }
.hero img { height: auto; border-radius: 1rem; }
.hero p, .contact > div p { max-width: 37ch; }

.button {
  display: inline-block;
  color: #fff;
  background: var(--green);
  border: 0;
  border-radius: 0.5rem;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.button:hover { background: #35453a; }
.button:disabled { opacity: 0.7; cursor: wait; }

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1rem;
  margin-block-start: 1.25rem;
}

.services article, form {
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: #fff;
}

.services article { overflow: hidden; }
.services img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.services article div { padding: 1rem; }
.services p { margin-block: 0.5rem 0; }

form { padding: clamp(1rem, 3vw, 1.75rem); }
form > label { display: grid; gap: 0.25rem; margin-block-end: 0.875rem; font-weight: 600; }
input, textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #767c76;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  background: #faf9f6;
  color: inherit;
  font-weight: 400;
}

textarea { resize: vertical; }
.contact-note, .footer { font-size: 0.875rem; }
.form-status:empty { margin: 0; }
.form-status.error { color: #9c2020; }
.footer { padding-block: 1.25rem; border-top: 1px solid var(--border); }

@media (min-width: 48rem) {
  .hero, .contact { grid-template-columns: 1fr 1fr; }
}
