:root {
  --ink: #16323f;
  --muted: #5d7180;
  --blue: #2d9cdb;
  --blue-dark: #157bb1;
  --blue-soft: #e9f7ff;
  --green: #64c987;
  --green-soft: #eaf9ef;
  --gray: #eef3f5;
  --line: #dce8ee;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(20, 64, 82, 0.12);
  --radius: 8px;
}

* { box-sizing: border-box; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

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

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 650;
  font-size: 0.94rem;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--blue-soft);
}

.phone-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.phone-button,
.button.primary {
  color: var(--white);
  background: var(--blue-dark);
  box-shadow: 0 10px 24px rgba(21, 123, 177, 0.24);
}

.button.secondary {
  color: var(--ink);
  background: var(--green-soft);
  border: 1px solid rgba(100, 201, 135, 0.45);
}

.button.full { width: 100%; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  min-height: calc(100vh - 76px);
  padding: clamp(36px, 7vw, 80px) clamp(18px, 5vw, 72px);
  background: linear-gradient(180deg, #f4fbff 0%, #ffffff 74%);
}

.hero-content { max-width: 650px; }

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 6vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.15rem;
}

.hero-subtitle,
.page-hero p,
.section-heading p,
.split p {
  color: var(--muted);
  font-size: 1.08rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 22px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-strip span,
.area-tags span {
  padding: 8px 11px;
  border-radius: var(--radius);
  color: #245d3b;
  background: var(--green-soft);
  border: 1px solid rgba(100, 201, 135, 0.35);
  font-weight: 700;
  font-size: 0.9rem;
}

.hero-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-media img {
  width: 100%;
  height: min(66vh, 640px);
  object-fit: cover;
}

.section,
.band,
.final-cta,
.page-hero {
  padding: clamp(52px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 0;
}

.card-grid {
  display: grid;
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
}

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

.service-card,
.quote-card,
.wide-card,
.form-card,
.info-panel,
.values-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card,
.quote-card,
.wide-card,
.form-card,
.info-panel,
.values-card {
  padding: 24px;
}

.service-card p,
.quote-card blockquote,
.quote-card figcaption,
.wide-card p,
.form-note,
.info-panel p {
  color: var(--muted);
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-weight: 800;
}

.centered-action {
  text-align: center;
  margin-top: 26px;
}

.text-link {
  color: var(--blue-dark);
  font-weight: 800;
  border-bottom: 2px solid rgba(45, 156, 219, 0.3);
}

.band {
  background: linear-gradient(180deg, var(--blue-soft), #f7fcf9);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
  max-width: 1160px;
  margin: 0 auto;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span {
  margin-top: 4px;
  color: var(--muted);
}

.service-area {
  background: var(--white);
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 860px;
  margin: 0 auto;
}

.quote-card {
  margin: 0;
}

.quote-card blockquote {
  margin: 0 0 16px;
  font-size: 1rem;
}

.quote-card figcaption {
  font-weight: 800;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: clamp(18px, 4vw, 44px);
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, #157bb1, #35a76a);
}

.final-cta p,
.final-cta .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.final-cta .button {
  background: var(--white);
  color: var(--blue-dark);
  box-shadow: none;
  min-width: 190px;
}

.page-hero {
  text-align: center;
  background: linear-gradient(180deg, #f1fbff, #ffffff);
}

.page-hero p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.services-list {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.wide-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
}

.wide-card .icon {
  margin-bottom: 0;
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.4fr);
  gap: 24px;
  align-items: start;
  max-width: 1160px;
  margin: 0 auto;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 750;
}

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

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(45, 156, 219, 0.22);
  border-color: var(--blue);
}

.full-span {
  grid-column: 1 / -1;
}

.form-card .button {
  margin-top: 18px;
}

.form-note {
  margin: 12px 0 0;
  font-size: 0.92rem;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 24px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #2f9f64;
  font-weight: 900;
}

.contact-stack {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.contact-stack a {
  color: var(--blue-dark);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
  padding: 36px clamp(18px, 5vw, 72px);
  color: #dfeef4;
  background: #16323f;
}

.site-footer p,
.site-footer span {
  color: #a9bfca;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-top: 8px;
}

.site-footer strong {
  color: var(--white);
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .phone-button {
    margin-left: auto;
  }

  .primary-nav {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 10px;
  }

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

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

  .hero {
    min-height: auto;
  }

  .hero-media img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .card-grid.three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    gap: 10px;
  }

  .brand small {
    display: none;
  }

  .phone-button {
    width: 100%;
    order: 5;
  }

  .hero,
  .section,
  .band,
  .page-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .button-row,
  .final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .button-row .button,
  .final-cta .button {
    width: 100%;
  }

  .form-grid,
  .wide-card,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .final-cta {
    margin-left: 18px;
    margin-right: 18px;
  }
}
