:root {
  --accent: #1f7f73;
  --accent-dark: #17635a;
  --sand: #eef5f3;
  --navy: #232a40;
  --text: #222;
  --muted: #5c5752;
  --max: 64rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Raleway", system-ui, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  /* Keep the footer at the bottom of the window on short pages */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

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

a { color: var(--accent-dark); }

h1, h2, h3 { line-height: 1.25; font-weight: 600; }
h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 0 0 .5rem; }
h2 { font-size: 1.5rem; margin: 2rem 0 .75rem; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }

/* Header */
.site-header { background: var(--sand); }
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  padding-top: .75rem;
  padding-bottom: .75rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--text);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
}
.brand img { width: 4rem; height: auto; }
.phone { font-weight: 700; text-decoration: none; white-space: nowrap; }

.site-nav { background: var(--navy); }
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 .25rem;
  margin: 0 auto;
  padding: 0 .5rem;
  max-width: var(--max);
  list-style: none;
}
.site-nav a {
  display: block;
  padding: .7rem .75rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { background: var(--accent); }

/* Hero */
.hero {
  background: var(--sand) center / cover no-repeat;
  border-bottom: 4px solid var(--accent);
}
.hero .wrap { padding-top: 3rem; padding-bottom: 3rem; }
.hero-box {
  max-width: 34rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, .9);
}
.hero-box p { margin: 0 0 1rem; font-size: 1.15rem; }
.hero-box .price { color: var(--accent-dark); }

/* Content */
main .wrap { padding-top: 1.5rem; padding-bottom: 2.5rem; }

.photo { width: 100%; margin: 2rem 0 1rem; aspect-ratio: 3 / 2; object-fit: cover; }

.lead { font-size: 1.15rem; color: var(--muted); }

.split {
  display: grid;
  gap: 1.5rem 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  align-items: start;
}

.button {
  display: inline-block;
  padding: .7rem 1.4rem;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 3px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--accent-dark); }

.checklist { padding-left: 1.25rem; }
.checklist li { margin-bottom: .25rem; }

.note {
  padding: 1rem 1.25rem;
  background: var(--sand);
  border-left: 4px solid var(--accent);
}

blockquote {
  margin: 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent);
  background: var(--sand);
  font-size: 1.1rem;
}

/* Image grid / service cards */
.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.cards figure, .cards a { margin: 0; }
.cards img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cards figcaption,
.cards span {
  display: block;
  padding: .5rem 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.cards a { color: var(--text); text-decoration: none; }
.cards a:hover span { color: var(--accent-dark); }

.band { background: var(--sand); }
.band .wrap { padding-top: 2rem; padding-bottom: 2.5rem; }
.band h2 { margin-top: 0; }

/* Form */
form { display: grid; gap: 1rem; max-width: 32rem; }
label { display: grid; gap: .3rem; font-weight: 600; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-weight: 600; margin-bottom: .3rem; }
fieldset label { display: inline-flex; gap: .4rem; margin-right: 1.25rem; font-weight: 400; }
input, select, textarea {
  font: inherit;
  padding: .55rem .65rem;
  border: 1px solid #b9b3ad;
  border-radius: 3px;
  background: #fff;
}
textarea { min-height: 8rem; resize: vertical; }

/* Footer */
.site-footer { background: var(--navy); color: #f3f0ec; }
.site-footer .wrap { padding-top: 2rem; padding-bottom: 2rem; }
.site-footer h2 { margin-top: 0; font-size: 1.25rem; }
.site-footer a { color: #fff; }
.site-footer address { font-style: normal; }
.site-footer small { display: block; margin-top: 1.5rem; color: #cfc8c1; }

/* Honeypot field for spam bots; hidden from people */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
