:root {
  --ink: #142033;
  --muted: #5d6878;
  --line: #dbe3ee;
  --soft: #f4f8fb;
  --white: #ffffff;
  --blue: #1264d8;
  --blue-dark: #0b3e91;
  --green: #447260;
  --wood: #9b673d;
  --steel: #26384f;
  --shadow: 0 20px 50px rgba(20, 32, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #8ab9ff;
  outline-offset: 3px;
}

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

.brand img {
  width: min(230px, 48vw);
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav a,
.header-call {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
}

.nav a:hover {
  background: var(--soft);
}

.header-call {
  color: var(--white);
  background: var(--blue);
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  align-items: stretch;
  background: var(--ink);
  color: var(--white);
}

.hero-image {
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(20, 32, 51, 0.15), rgba(20, 32, 51, 0.8)),
    url("assets/images/Untitled%20design.jpg") center / cover;
  filter: contrast(1.04) saturate(1.03);
}

.hero-content {
  align-self: center;
  padding: clamp(40px, 6vw, 78px);
}

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

.hero .eyebrow {
  color: #9fc7ff;
}

.page-hero {
  min-height: 620px;
  display: grid;
  align-items: end;
  padding: clamp(72px, 10vw, 130px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(20, 32, 51, 0.88), rgba(20, 32, 51, 0.28)),
    url("assets/images/hero.jpg") center / cover;
}

.page-hero > div {
  max-width: 760px;
}

.page-hero p {
  max-width: 44rem;
  color: #e3edf8;
  font-size: 1.18rem;
}

.page-hero .eyebrow {
  color: #9fc7ff;
}

.siding-page {
  background:
    linear-gradient(90deg, rgba(20, 32, 51, 0.88), rgba(20, 32, 51, 0.28)),
    url("assets/images/project-cedar.jpg") center / cover;
}

.window-page {
  background:
    linear-gradient(90deg, rgba(20, 32, 51, 0.88), rgba(20, 32, 51, 0.28)),
    url("assets/images/project-modern.jpg") center / cover;
}

.paint-page {
  background:
    linear-gradient(90deg, rgba(20, 32, 51, 0.88), rgba(20, 32, 51, 0.28)),
    url("assets/images/paint.jpg") center / cover;
}

.deck-page {
  background:
    linear-gradient(90deg, rgba(20, 32, 51, 0.88), rgba(20, 32, 51, 0.28)),
    url("assets/images/project-detail.jpg") center / cover;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 18px;
  font-size: clamp(3rem, 6.6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 42rem;
  color: #e3edf8;
  font-size: 1.2rem;
}

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

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

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

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero .button.secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 36px 0 0;
}

.stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.stats dt {
  font-size: 2rem;
  font-weight: 900;
}

.stats dd {
  margin: 0;
  color: #c6d7ea;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-strip span {
  padding: 18px;
  border-right: 1px solid var(--line);
  text-align: center;
  font-weight: 800;
}

.section {
  padding: clamp(54px, 8vw, 110px) clamp(18px, 5vw, 72px);
  content-visibility: auto;
  contain-intrinsic-size: 760px;
}

.intro,
.areas,
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

.intro p,
.areas p,
.detail-layout p,
.estimate-card p {
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-copy {
  display: grid;
  gap: 18px;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--steel);
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 14px;
  height: 8px;
  border-bottom: 3px solid var(--green);
  border-left: 3px solid var(--green);
  transform: rotate(-45deg);
}

.detail-list {
  align-self: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--blue-dark);
  color: var(--white);
}

.proof-band article {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 26px clamp(18px, 4vw, 48px);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.proof-band strong {
  font-size: 1.25rem;
}

.proof-band span {
  color: #d7e4f2;
}

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

.services {
  background: var(--soft);
}

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

.service-grid article {
  overflow: hidden;
  min-height: 188px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(20, 32, 51, 0.06);
}

.service-grid article img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  filter: contrast(1.04) saturate(1.03);
}

.service-grid article h3,
.service-grid article p,
.service-grid article a {
  margin-right: 24px;
  margin-left: 24px;
}

.service-grid article h3 {
  margin-top: 22px;
}

.service-grid article p {
  margin-bottom: 24px;
}

.service-grid article a {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}

.service-cta {
  display: grid;
  align-content: center;
  padding-top: 28px;
}

.service-grid p,
.steps li {
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

figure img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  filter: contrast(1.04) saturate(1.03);
}

figure.featured {
  grid-row: span 2;
}

figure.featured img {
  height: 686px;
}

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

.reviews {
  background: var(--soft);
}

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

.review-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.stars {
  margin-bottom: 18px;
  color: var(--wood);
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.review-grid p {
  color: var(--ink);
  font-size: 1.08rem;
}

.review-grid span {
  color: var(--muted);
  font-weight: 800;
}

.process {
  background: var(--ink);
  color: var(--white);
}

.process .eyebrow {
  color: #9fc7ff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #d7e4f2;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 999px;
  color: var(--ink);
  background: #9fc7ff;
  font-weight: 900;
}

.steps strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.area-list li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  font-weight: 800;
}

.faq {
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

details {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
}

details p {
  margin: 14px 0 0;
  color: var(--muted);
}

.estimate {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 30px;
  padding: clamp(54px, 8vw, 110px) clamp(18px, 5vw, 72px);
  content-visibility: auto;
  contain-intrinsic-size: 760px;
  background:
    linear-gradient(rgba(244, 248, 251, 0.94), rgba(244, 248, 251, 0.94)),
    url("assets/images/project-umbach-2.jpg") center / cover;
}

.estimate-card,
.estimate-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.estimate-card {
  padding: clamp(28px, 4vw, 46px);
}

.estimate-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

.form-honey {
  display: none;
}

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

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

textarea {
  resize: vertical;
}

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

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 36px clamp(18px, 5vw, 72px);
  color: #d7e4f2;
  background: #101a2a;
}

.footer > div {
  min-width: 0;
}

.footer img {
  width: min(260px, 100%);
  height: auto;
  max-height: 78px;
  object-fit: contain;
  margin-bottom: 12px;
  padding: 6px 8px;
  background: var(--white);
  border-radius: 6px;
}

.footer p {
  max-width: 520px;
  margin: 0;
}

address {
  display: grid;
  gap: 8px;
  font-style: normal;
  text-align: right;
}

address a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.mobile-call {
  display: none;
}

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

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 4px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .hero,
  .intro,
  .areas,
  .detail-layout,
  .estimate {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-image {
    min-height: 360px;
  }

  .page-hero {
    min-height: 520px;
  }

  .hero-content {
    padding: 34px 22px 44px;
  }

  h1 {
    max-width: 12ch;
  }

  .trust-strip,
  .proof-band,
  .service-grid,
  .steps,
  .review-grid,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  figure.featured {
    grid-row: auto;
  }

  figure.featured img,
  figure img {
    height: 360px;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 66px;
  }

  .site-header {
    position: sticky;
    display: grid;
    grid-template-columns: 1fr;
    padding: 12px 16px;
  }

  .brand img {
    width: 210px;
  }

  .header-call {
    display: none;
  }

  .nav {
    display: flex;
    gap: 6px;
    padding-top: 8px;
  }

  .nav a {
    min-height: 36px;
    flex: 0 0 auto;
    padding: 0 11px;
    border: 1px solid var(--line);
    background: var(--white);
    font-size: 0.86rem;
  }

  .hero-image {
    min-height: 300px;
  }

  .hero-content {
    padding: 30px 18px 38px;
  }

  h1 {
    max-width: 14ch;
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .stats,
  .trust-strip,
  .proof-band,
  .service-grid,
  .steps,
  .area-list,
  .review-grid,
  .faq-grid,
  .estimate-form,
  .footer {
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section,
  .estimate {
    padding: 48px 18px;
  }

  .service-grid article,
  .steps li,
  .review-grid article {
    min-height: auto;
  }

  figure.featured img,
  figure img {
    height: 270px;
  }

  address {
    text-align: left;
  }

  .mobile-call {
    position: fixed;
    right: 14px;
    bottom: 12px;
    left: 14px;
    z-index: 30;
    min-height: 50px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    color: var(--white);
    background: var(--blue);
    box-shadow: 0 12px 30px rgba(18, 100, 216, 0.35);
    font-weight: 900;
    text-decoration: none;
  }
}
