:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #5a6670;
  --blue: #064da8;
  --blue-dark: #08366f;
  --cyan: #17a9d6;
  --sand: #f3eee5;
  --paper: #ffffff;
  --line: #dce4ea;
  --soft: #f7fafb;
  --shadow: 0 14px 34px rgba(20, 35, 50, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 12px clamp(16px, 4vw, 54px);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: block;
  width: min(220px, 42vw);
  height: 70px;
  overflow: hidden;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  object-position: left top;
  transform: translateY(-8px);
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.8vw, 32px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

nav a,
.header-call,
.header-estimate {
  text-decoration: none;
}

nav a:hover,
.header-call:hover,
.header-estimate:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-call,
.header-estimate {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 16px;
  color: var(--blue-dark);
  font-weight: 800;
  white-space: nowrap;
}

.header-estimate {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.header-estimate:hover {
  color: #fff;
  background: var(--blue-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(34px, 6vw, 82px) clamp(16px, 4vw, 54px) clamp(42px, 6vw, 88px);
  background: linear-gradient(180deg, #f8fcff 0%, #fff 62%);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 50px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.2;
}

.lead {
  max-width: 500px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 20px);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-trust span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 11px;
  background: #fff;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 14px 22px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(6, 77, 168, .22);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  color: var(--blue-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.small-note {
  max-width: 610px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.hero-image {
  position: relative;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 18px -14px -14px 18px;
  border-radius: 8px;
  background: var(--sand);
}

.hero-image img {
  position: relative;
  width: 100%;
  max-height: 620px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}

.quick-bar p {
  margin: 0;
  padding: 22px clamp(16px, 3vw, 36px);
  background: #fff;
  color: var(--muted);
}

.quick-bar strong {
  color: var(--ink);
}

.section,
.about-band,
.areas,
.estimate-band {
  padding: clamp(48px, 7vw, 86px) clamp(16px, 4vw, 54px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-grid article {
  min-height: 205px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 35, 50, .06);
}

.service-grid p {
  margin: 0;
  color: var(--muted);
}

.owner-commercial {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  padding: 0 clamp(16px, 4vw, 54px) clamp(48px, 7vw, 86px);
  background: var(--line);
}

.owner-commercial article {
  padding: clamp(26px, 4vw, 38px);
  background: var(--blue-dark);
  color: #fff;
}

.owner-commercial article + article {
  background: #0b4f8f;
}

.owner-commercial .eyebrow {
  color: #94dff1;
}

.owner-commercial p:last-child {
  margin-bottom: 0;
  color: #dcecf4;
}

.commercial-note {
  margin-top: 14px;
  font-weight: 800;
}

.about-band {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(320px, 1.25fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  background: var(--blue-dark);
  color: #fff;
}

.about-band .eyebrow {
  color: #94dff1;
}

.about-band p:last-child {
  margin: 0;
  color: #dcecf4;
  font-size: clamp(18px, 2vw, 22px);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

figure.wide {
  grid-column: span 1;
}

figure img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

figure.wide img {
  height: 380px;
}

figcaption {
  min-height: 74px;
  padding: 14px 16px;
  color: var(--muted);
  font-weight: 700;
}

.areas {
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(320px, 1.25fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-list span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 13px;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 800;
}

.estimate-band {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(360px, 1.1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
  background: #fff;
}

.estimate-copy p {
  color: var(--muted);
  font-size: 18px;
}

.review-count {
  margin-top: 18px;
  padding: 16px;
  border-left: 4px solid var(--blue);
  background: var(--soft);
  color: var(--ink) !important;
  font-weight: 800;
}

.contact-card {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.contact-card a {
  color: var(--blue-dark);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.contact-card span {
  color: var(--muted);
  font-weight: 700;
}

.reviews {
  padding: clamp(48px, 7vw, 86px) clamp(16px, 4vw, 54px);
  background: var(--soft);
  border-top: 1px solid var(--line);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-grid article {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.stars {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.review-grid p {
  margin: 0;
  color: var(--muted);
}

.review-grid strong {
  color: var(--ink);
}

.review-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.review-link:hover {
  border-color: var(--blue);
}

.estimate-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.referral {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(320px, 1.2fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: start;
  padding: clamp(42px, 6vw, 72px) clamp(16px, 4vw, 54px);
  border-top: 1px solid var(--line);
  background: var(--blue-dark);
  color: #fff;
}

.referral .eyebrow {
  color: #94dff1;
}

.referral p:last-child {
  margin: 0;
  color: #dcecf4;
  font-size: clamp(17px, 2vw, 21px);
}

label,
legend {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

label {
  display: grid;
  gap: 7px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #b9c7d1;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 16px;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(23, 169, 214, .24);
  border-color: var(--cyan);
}

fieldset {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

fieldset legend {
  padding: 0 6px;
}

fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

fieldset input {
  width: 18px;
  min-height: 18px;
  flex: 0 0 18px;
}

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

.form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.seo-area {
  padding: 30px clamp(16px, 4vw, 54px);
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.seo-area .eyebrow {
  margin-bottom: 14px;
}

.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-links span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 11px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

footer {
  padding: 26px clamp(16px, 4vw, 54px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

footer p {
  margin: 0;
}

.thank-you {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  padding: clamp(32px, 8vw, 90px);
  background: var(--soft);
}

.thank-you img {
  width: min(260px, 80vw);
  max-height: 120px;
  object-fit: contain;
  object-position: left center;
}

.thank-you h1 {
  max-width: none;
}

.thank-you p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .quick-bar,
  .service-grid,
  .review-grid,
  .owner-commercial,
  .about-band,
  .areas,
  .estimate-band,
  .referral {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 14ch;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    gap: 12px;
  }

  .brand {
    width: min(190px, 60vw);
    height: 58px;
  }

  .brand img {
    height: 82px;
    transform: translateY(-7px);
  }

  .header-call {
    padding: 9px 12px;
  }

  .header-estimate {
    display: none;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-image::before {
    inset: 12px -8px -8px 12px;
  }

  .hero-image img {
    aspect-ratio: 1 / 1.18;
  }

  .photo-grid,
  .estimate-form,
  fieldset {
    grid-template-columns: 1fr;
  }

  figure.wide {
    grid-column: auto;
  }

  figure img,
  figure.wide img {
    height: 340px;
  }
}
