:root {
  --white: #ffffff;
  --warm: #fbf7f0;
  --blue: #cfe5ee;
  --blue-strong: #75aebe;
  --sage: #8faa8f;
  --sage-dark: #55775b;
  --charcoal: #243033;
  --gray: #e6ebe8;
  --muted: #687577;
  --shadow: 0 22px 60px rgba(36, 48, 51, 0.12);
  --radius: 8px;
  --max: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.section-pad {
  padding: 72px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(36, 48, 51, 0.08);
  backdrop-filter: blur(14px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-size: 0.78rem;
}

.nav-toggle {
  display: inline-grid;
  gap: 5px;
  width: 44px;
  height: 44px;
  place-content: center;
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--charcoal);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.site-nav {
  position: fixed;
  inset: 69px 16px auto;
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.site-nav a {
  padding: 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--warm);
  color: var(--charcoal);
}

.header-cta {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--sage-dark);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(85, 119, 91, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: #486a4e;
  box-shadow: 0 18px 34px rgba(85, 119, 91, 0.28);
  transform: translateY(-2px);
}

.button-small {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.92rem;
}

.hero {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(207, 229, 238, 0.55), rgba(255, 255, 255, 0) 46%),
    var(--warm);
}

.hero-grid,
.quote-grid,
.about-grid,
.testimonials-grid {
  display: grid;
  gap: 36px;
}

.hero-copy {
  padding-top: 14px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 11vw, 4.9rem);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 8vw, 3.25rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.hero-subhead,
.section-intro p,
.local-panel p,
.about-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: grid;
  gap: 14px;
  align-items: center;
  margin-top: 30px;
}

.hero-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-media img,
.about-image img,
.detail-image,
.lifestyle-image {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media img {
  aspect-ratio: 4 / 5;
}

.trust-bar {
  background: var(--white);
  border-block: 1px solid var(--gray);
}

.trust-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
}

.trust-list div {
  padding: 18px 0;
  color: var(--charcoal);
  font-weight: 800;
}

.quote-section,
.how,
.local {
  background: var(--white);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.detail-image,
.lifestyle-image {
  margin-top: 24px;
  aspect-ratio: 4 / 3;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.demo-form-notice {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #cfd9d5;
  border-radius: var(--radius);
  background: #f4f8f7;
  color: var(--charcoal);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-row {
  display: grid;
  gap: 7px;
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #cfd9d5;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue-strong);
  box-shadow: 0 0 0 4px rgba(117, 174, 190, 0.18);
}

input:disabled,
select:disabled,
textarea:disabled {
  border-color: #d8e0dd;
  background: #f6f8f7;
  color: #697873;
  cursor: not-allowed;
  opacity: 1;
}

.form-button {
  width: 100%;
}

.form-button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  transform: none;
}

.button-loading,
.quote-form.is-loading .button-text {
  display: none;
}

.quote-form.is-loading .button-loading {
  display: inline;
}

.quote-form.is-loading .form-button {
  cursor: wait;
  opacity: 0.78;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 800;
}

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

.form-status.error {
  color: #9a3e32;
}

.card-grid {
  display: grid;
  gap: 16px;
}

.info-card,
.step-card,
.review-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.info-card:hover,
.step-card:hover,
.review-card:hover {
  border-color: rgba(85, 119, 91, 0.32);
  box-shadow: 0 18px 42px rgba(36, 48, 51, 0.1);
  transform: translateY(-3px);
}

.info-card p,
.step-card p,
.review-card figcaption {
  margin-bottom: 0;
  color: var(--muted);
}

.step-card span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--charcoal);
  font-weight: 800;
}

.about {
  background: linear-gradient(180deg, var(--warm), #f2f7f5);
}

.about-image img {
  aspect-ratio: 4 / 5;
}

.about-copy {
  align-self: center;
}

.testimonials {
  background: var(--warm);
}

.review-list {
  display: grid;
  gap: 16px;
}

.review-card {
  margin: 0;
}

.review-card blockquote {
  margin: 0 0 16px;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
}

.local-panel {
  padding: 34px 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), #eef6f2);
}

.final-cta {
  background: var(--charcoal);
  color: var(--white);
}

.final-cta-inner {
  display: grid;
  gap: 20px;
  align-items: center;
}

.final-cta h2 {
  margin: 0;
}

.site-footer {
  padding: 34px 0;
  background: #182123;
  color: var(--white);
}

.footer-grid {
  display: grid;
  gap: 20px;
}

.site-footer p,
.site-footer address {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

.site-footer address {
  display: grid;
  gap: 6px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--blue);
}

.disclaimer {
  margin-top: 22px;
  font-size: 0.85rem;
}

.footer-attribution {
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.footer-attribution a {
  color: inherit;
  text-decoration: none;
}

.footer-attribution a:hover,
.footer-attribution a:focus-visible {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 640px) {
  .hero-actions,
  .final-cta-inner {
    grid-template-columns: auto 1fr;
  }

  .trust-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .quote-form {
    grid-template-columns: repeat(2, 1fr);
    padding: 28px;
  }

  .form-wide,
  .form-button,
  .form-status {
    grid-column: 1 / -1;
  }

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

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 16px max(28px, calc((100vw - var(--max)) / 2));
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav a {
    padding: 8px 10px;
    font-size: 0.92rem;
  }

  .header-cta {
    display: inline-flex;
  }

  .hero-grid,
  .quote-grid,
  .about-grid,
  .testimonials-grid {
    grid-template-columns: 1fr 0.92fr;
    align-items: center;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-media {
    margin-right: -24px;
  }

  .trust-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-list div {
    text-align: center;
  }

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

  .about-grid,
  .testimonials-grid {
    grid-template-columns: 0.85fr 1fr;
  }
}

@media (min-width: 1120px) {
  .section-pad {
    padding: 96px 0;
  }

  .hero {
    min-height: calc(100vh - 74px);
    display: grid;
    align-items: center;
  }
}
