:root {
  --ink: #17211f;
  --muted-ink: #5c6662;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --sand: #eee6d7;
  --sage: #557267;
  --sage-dark: #2f5149;
  --clay: #b5633c;
  --ocean: #2e6f7e;
  --line: #ded8ca;
  --shadow: 0 22px 60px rgba(23, 33, 31, 0.16);
  --shadow-strong: 0 30px 90px rgba(11, 22, 19, 0.28);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::selection {
  color: #fff;
  background: var(--sage-dark);
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(23, 33, 31, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease;
}

.brand:hover .brand-mark {
  transform: rotate(-2deg) scale(1.03);
  background: rgba(255, 255, 255, 0.18);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.3vw, 30px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.nav-links a,
.header-cta {
  text-decoration: none;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: #f0b188;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  min-width: max-content;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius);
  color: #fff;
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.62);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  min-height: calc(100svh - 84px);
  padding: clamp(36px, 6vw, 90px) clamp(18px, 5vw, 74px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(14, 23, 21, 0.9) 0%, rgba(14, 23, 21, 0.72) 46%, rgba(14, 23, 21, 0.5) 100%),
    url("assets/stucco-cracks-before-after-480q30.webp") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 35%, rgba(255, 255, 255, 0.13) 45%, transparent 56%),
    radial-gradient(circle at 78% 18%, rgba(240, 177, 136, 0.28), transparent 28%);
  opacity: 0.72;
  animation: heroSheen 8s ease-in-out infinite alternate;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 760px;
  animation: heroEnter 700ms ease both;
}

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

.hero .eyebrow {
  color: #f0b188;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

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

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

.hero-subtitle {
  max-width: 640px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-points {
  display: grid;
  gap: 12px;
  max-width: 700px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 34px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.2);
}

.hero-actions,
.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin-top: 30px;
}

.hero-trust div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-trust strong,
.hero-trust span {
  display: block;
}

.hero-trust strong {
  margin-bottom: 4px;
  font-size: 1.08rem;
}

.hero-trust span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--clay);
  box-shadow: 0 16px 34px rgba(181, 99, 60, 0.28);
}

.button-primary:hover {
  background: #9e4f2e;
  box-shadow: 0 18px 40px rgba(181, 99, 60, 0.36);
}

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(222, 216, 202, 0.9);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  animation: formEnter 780ms 120ms ease both;
}

.hero-form {
  align-self: center;
  transform-origin: center right;
}

.form-heading h2 {
  margin-bottom: 5px;
  font-size: 1.55rem;
}

.form-kicker {
  width: max-content;
  max-width: 100%;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--sage-dark);
  background: #e6f0ea;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-heading p,
.form-note,
.form-status,
.section-heading p,
.card-body p,
.service-grid p,
.timeline p,
.trust-grid p,
.site-footer p {
  color: var(--muted-ink);
}

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
  transition: color 160ms ease;
}

label:focus-within {
  color: var(--ocean);
}

label span {
  font-size: 0.9rem;
}

label em {
  color: var(--muted-ink);
  font-style: normal;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfc7b9;
  border-radius: var(--radius);
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(46, 111, 126, 0.22);
  border-color: var(--ocean);
  box-shadow: 0 10px 24px rgba(46, 111, 126, 0.09);
}

.file-control {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.file-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--sage);
  border-radius: var(--radius);
  color: var(--sage-dark);
  background: #eef4ef;
  transition: transform 160ms ease, background 160ms ease;
}

.file-control:hover .file-button {
  transform: translateY(-1px);
  background: #e1ece5;
}

.file-name {
  min-width: 0;
  color: var(--muted-ink);
  font-size: 0.9rem;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.form-submit {
  width: 100%;
}

.form-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.form-perks span {
  padding: 7px 9px;
  border: 1px solid #d8e4dc;
  border-radius: 999px;
  color: var(--sage-dark);
  background: #f2f7f4;
  font-size: 0.78rem;
  font-weight: 800;
}

.form-note,
.form-status {
  margin: 0;
  font-size: 0.86rem;
}

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

.form-status.error {
  color: #9d2f26;
  font-weight: 800;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.proof-strip div {
  padding: 22px clamp(18px, 4vw, 56px);
  background: var(--surface);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.proof-strip div:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(23, 33, 31, 0.08);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip span {
  color: var(--muted-ink);
  font-size: 0.94rem;
}

.section {
  padding: clamp(58px, 8vw, 108px) clamp(18px, 5vw, 74px);
}

.muted {
  background: #f1eee6;
}

.section-heading {
  max-width: 850px;
  margin-bottom: clamp(26px, 4vw, 46px);
}

.section-heading p {
  max-width: 760px;
  font-size: 1.05rem;
}

.repair-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.repair-card,
.service-grid article,
.trust-grid article,
.timeline article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.repair-card {
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(23, 33, 31, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.repair-card:hover {
  transform: translateY(-5px);
  border-color: rgba(85, 114, 103, 0.45);
  box-shadow: var(--shadow);
}

.repair-media {
  position: relative;
  overflow: hidden;
}

.repair-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 360ms ease;
}

.repair-card:hover .repair-media img {
  transform: scale(1.035);
}

.before-badge,
.after-badge {
  position: absolute;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(18, 26, 24, 0.78);
  backdrop-filter: blur(8px);
  font-size: 0.76rem;
  font-weight: 900;
}

.before-badge {
  left: 12px;
}

.after-badge {
  right: 12px;
  background: rgba(47, 81, 73, 0.86);
}

.card-body {
  padding: 18px;
}

.card-label {
  margin-bottom: 12px;
  color: var(--sage-dark);
  font-weight: 900;
}

.inline-cta {
  justify-content: space-between;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 38px rgba(23, 33, 31, 0.08);
}

.inline-cta p {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
}

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

.service-grid article,
.trust-grid article {
  padding: 20px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-grid article:hover,
.trust-grid article:hover,
.timeline article:hover,
.area-links a:hover,
.faq-list details:hover {
  transform: translateY(-3px);
  border-color: rgba(85, 114, 103, 0.48);
  box-shadow: 0 18px 46px rgba(23, 33, 31, 0.1);
}

.icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease;
}

.service-grid article:hover .icon {
  transform: rotate(-3deg) scale(1.05);
  background: var(--ocean);
}

.process {
  background: var(--paper);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.timeline article {
  position: relative;
  padding: 22px;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.timeline article::after {
  content: "";
  position: absolute;
  inset: auto 22px 0;
  height: 3px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.timeline article:hover::after {
  transform: scaleX(1);
}

.timeline span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--ocean);
  font-weight: 900;
}

.trust {
  color: #fff;
  background: var(--sage-dark);
  background:
    linear-gradient(135deg, rgba(47, 81, 73, 0.98), rgba(23, 33, 31, 0.96)),
    radial-gradient(circle at 82% 8%, rgba(240, 177, 136, 0.2), transparent 24%);
}

.trust .eyebrow,
.bottom-cta .eyebrow {
  color: #f0b188;
}

.trust .section-heading p,
.trust-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-grid article {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

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

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

.area-links a {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--sage-dark);
  background: #fff;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, color 180ms ease;
}

.area-links a:hover {
  color: var(--ocean);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.faq-list details {
  padding: 0 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 900;
}

.faq-list p {
  margin-bottom: 18px;
  color: var(--muted-ink);
}

.bottom-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(20, 32, 29, 0.94), rgba(20, 32, 29, 0.8)),
    url("assets/water-stains-before-after-480q30.webp") center / cover no-repeat;
}

.bottom-copy {
  position: sticky;
  top: 110px;
}

.bottom-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 74px);
  color: #fff;
  background: #101816;
}

.site-footer p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.64);
}

.site-footer a {
  color: #fff;
  font-weight: 800;
}

.mobile-sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 30;
  display: none;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(181, 99, 60, 0.96);
  box-shadow: var(--shadow-strong);
  text-align: center;
  text-decoration: none;
  transform: translateY(120%);
  transition: transform 220ms ease, opacity 220ms ease;
}

.mobile-sticky-cta strong,
.mobile-sticky-cta span {
  display: block;
}

.mobile-sticky-cta span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
}

.show-sticky-cta .mobile-sticky-cta {
  transform: translateY(0);
}

.hide-sticky-cta .mobile-sticky-cta {
  opacity: 0;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes formEnter {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroSheen {
  from {
    transform: translateX(-4%);
    opacity: 0.45;
  }
  to {
    transform: translateX(4%);
    opacity: 0.8;
  }
}

.location-hero {
  min-height: 64svh;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
}

.location-hero .hero-content {
  max-width: 880px;
}

.compact-section {
  padding-top: clamp(44px, 6vw, 82px);
}

@media (max-width: 1120px) {
  .service-grid,
  .timeline,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .bottom-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-form {
    align-self: stretch;
  }

  .proof-strip,
  .area-links {
    grid-template-columns: 1fr;
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }

  .bottom-copy {
    position: static;
  }

  .mobile-sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 84px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    padding: 9px 12px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(2.45rem, 16vw, 4rem);
  }

  .hero,
  .section {
    padding-inline: 16px;
  }

  .service-grid,
  .timeline,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .lead-form {
    padding: 16px;
  }

  .file-control {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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