:root {
  --ink: #1d2a2f;
  --muted: #56666c;
  --line: #dbe3e4;
  --bg: #f7f9f8;
  --card: #ffffff;
  --accent: #2f6f6a;
  --accent-dark: #22524e;
  --soft: #e8f1ef;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
h1, h2, h3 { font-family: "Source Serif 4", Georgia, serif; line-height: 1.25; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); }
h2 { font-size: 1.5rem; margin-top: 1.6em; }
h3 { font-size: 1.15rem; margin-top: 1.4em; }
p { margin: 0 0 1em; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.brand { text-decoration: none; color: var(--ink); }
.brand-name { font-family: "Source Serif 4", Georgia, serif; font-size: 1.35rem; font-weight: 600; display: block; }
.brand-legal { font-size: .8rem; color: var(--muted); display: block; }
.site-nav a { margin-left: 18px; text-decoration: none; color: var(--muted); font-size: .95rem; }
.site-nav a:first-child { margin-left: 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }

/* Hero / layout */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 34em; }
.services { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.services li { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.services strong { display: block; }
.services span { color: var(--muted); font-size: .92rem; }
.contact-line { margin-top: 28px; color: var(--muted); font-size: .95rem; }

/* Form */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.card h2 { margin-top: 0; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; margin-bottom: 6px; font-size: .95rem; }
.req { color: var(--accent); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; padding: 11px 12px; font: inherit; font-size: 1rem;
  border: 1px solid #bfcccd; border-radius: 6px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.consent { display: flex; gap: 10px; align-items: flex-start; background: var(--soft); border-radius: 6px; padding: 12px 14px; margin: -4px 0 18px; }
.consent input { margin-top: 5px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--accent); }
.consent label { font-size: .84rem; line-height: 1.5; font-weight: 400; color: var(--ink); }
.btn { display: inline-block; background: var(--accent); color: #fff; border: 0; border-radius: 6px; padding: 12px 22px; font: inherit; font-weight: 500; cursor: pointer; }
.btn:hover { background: var(--accent-dark); }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.hidden { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Legal pages */
.legal { padding: 44px 0 56px; }
.legal .updated { color: var(--muted); font-size: .92rem; }
.legal section { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px 26px 14px; margin-top: 20px; }
.legal section h2 { margin-top: .9em; }
.legal ul { padding-left: 1.2em; }
.legal address { font-style: normal; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--card); padding: 28px 0; font-size: .9rem; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); margin-right: 16px; }
.site-footer a:hover { color: var(--accent); }

@media (max-width: 820px) {
  .hero { padding: 32px 0 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .services { grid-template-columns: 1fr; }
  .card { padding: 22px 18px; }
  .legal section { padding: 4px 18px 10px; }
  .site-nav a { margin-left: 14px; }
}
