:root {
  color-scheme: light;
  --ink: #18201c;
  --muted: #5a635e;
  --line: #d8ded8;
  --panel: #f6f7f4;
  --paper: #ffffff;
  --brand: #245f55;
  --brand-dark: #17423b;
  --accent: #b75b36;
  --accent-soft: #f5dfd3;
  --shadow: 0 18px 42px rgba(24, 32, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

a {
  color: var(--brand);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

h1 {
  font-size: clamp(2.25rem, 6vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.2;
  letter-spacing: 0;
  margin-bottom: 0.45rem;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--brand-dark);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

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

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  min-width: 230px;
}

.brand-mark {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid var(--brand);
  color: var(--brand);
  font-weight: 800;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex: 1;
  font-size: 0.93rem;
}

.nav-menu a,
.site-footer a {
  color: var(--ink);
  text-decoration: none;
}

.nav-phone {
  color: white;
  background: var(--brand);
  text-decoration: none;
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.nav-toggle {
  display: none;
}

.section {
  padding: 76px 0;
}

.muted {
  background: var(--panel);
}

.hero {
  padding-top: 58px;
  border-bottom: 1px solid var(--line);
}

.hero-grid,
.split,
.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.eyebrow,
.section-kicker {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 2px solid transparent;
  padding: 0.75rem 1rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}

.button.primary {
  background: var(--brand);
  color: white;
}

.button.secondary {
  background: var(--accent-soft);
  color: var(--ink);
  border-color: rgba(183, 91, 54, 0.22);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.trust-strip li {
  border: 1px solid var(--line);
  background: white;
  padding: 0.48rem 0.65rem;
  font-size: 0.9rem;
}

.proof-figure {
  margin: 0;
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow);
}

.proof-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.proof-figure figcaption {
  padding: 0.8rem 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.proof-figure.compact {
  box-shadow: none;
}

.section-head {
  max-width: 760px;
  margin-bottom: 1.6rem;
}

.card-grid,
.pricing-grid {
  display: grid;
  gap: 1rem;
}

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

.card-grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card,
.price-card,
.trust-card,
.quote-form,
.call-box,
.addon-panel {
  border: 1px solid var(--line);
  background: white;
  padding: 1.2rem;
  border-radius: 8px;
}

.card p,
.price-card p,
.trust-card span,
.section-head p,
.narrow p,
.quote-grid p {
  color: var(--muted);
}

.card a {
  font-weight: 800;
}

.check-list {
  padding-left: 1.1rem;
  color: var(--muted);
}

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

.price-card.highlight {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.price {
  color: var(--brand-dark);
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 0.6rem;
}

.fine {
  font-size: 0.9rem;
  color: var(--muted);
}

.addon-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
}

.addon-panel span,
.addon-panel strong {
  display: inline-flex;
  align-items: center;
}

.trust-card {
  display: grid;
  gap: 0.35rem;
}

.quote-grid {
  align-items: start;
}

.call-box {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.3rem;
}

.call-box a {
  font-size: 1.25rem;
  font-weight: 900;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-row,
.quote-form fieldset {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-row.full,
.quote-form .privacy,
.full-button,
.form-status,
.honeypot {
  grid-column: 1 / -1;
}

label,
legend {
  font-weight: 800;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #bfc8c0;
  border-radius: 4px;
  padding: 0.75rem;
  font: inherit;
  color: var(--ink);
  background: white;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.button:focus,
.nav-toggle:focus {
  outline: 3px solid rgba(36, 95, 85, 0.25);
  outline-offset: 2px;
}

[aria-invalid="true"] {
  border-color: #a62828;
}

.field-error {
  color: #a62828;
  font-size: 0.85rem;
}

.contact-method {
  align-content: start;
}

.contact-method label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.contact-method input {
  width: auto;
  min-height: auto;
}

.privacy {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.form-status {
  margin: 0;
  min-height: 1.5rem;
  font-weight: 800;
}

.form-status.success {
  color: var(--brand-dark);
}

.form-status.error {
  color: #a62828;
}

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

.site-footer {
  background: var(--ink);
  color: white;
  padding: 36px 0 86px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.footer-grid div:last-child {
  display: grid;
  gap: 0.4rem;
  text-align: right;
}

.site-footer a {
  color: white;
}

.mobile-call-bar {
  display: none;
}

@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
    padding: 0.75rem 0;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    border: 1px solid var(--line);
    background: white;
    padding: 0.6rem 0.8rem;
    font: inherit;
    font-weight: 800;
  }

  .nav-menu {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
  }

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

  .nav-menu a {
    padding: 0.8rem 0;
  }

  .nav-phone {
    display: none;
  }

  .hero-grid,
  .split,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.three,
  .card-grid.five,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .wrap {
    width: min(100% - 24px, 1120px);
  }

  .section {
    padding: 48px 0;
  }

  .hero {
    padding-top: 36px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .hero-actions,
  .trust-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .card-grid.three,
  .card-grid.five,
  .pricing-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    display: grid;
  }

  .footer-grid div:last-child {
    text-align: left;
  }

  .mobile-call-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 15;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(24, 32, 28, 0.12);
  }

  .mobile-call-bar a {
    min-height: 56px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--brand);
    text-align: center;
    text-decoration: none;
    font-weight: 900;
    padding: 0.5rem;
  }

  .mobile-call-bar a + a {
    background: var(--accent);
  }
}
