:root {
  --brand-purple: #4f2478;
  --brand-purple-dark: #35134f;
  --brand-gold: #f4c431;
  --ink: #17202a;
  --muted: #5d6773;
  --line: #dde4ea;
  --surface: #ffffff;
  --surface-soft: #f5f8f6;
  --green: #2f7d57;
  --blue: #1f6f8b;
  --shadow: 0 16px 40px rgba(20, 26, 33, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

[hidden],
.is-hidden {
  display: none !important;
}

a {
  color: inherit;
}

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

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

.brand img {
  width: 92px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  font-weight: 700;
  font-size: 0.95rem;
}

.main-nav a,
.site-footer a {
  text-decoration: none;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--brand-purple);
}

.header-call {
  color: var(--brand-purple);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(20, 26, 33, 0.16);
}

.button-primary {
  color: #fff;
  background: var(--brand-purple);
}

.button-secondary {
  color: var(--ink);
  background: var(--brand-gold);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  padding: 80px clamp(20px, 6vw, 88px);
  overflow: hidden;
  background: url("assets/hero-pressure-washing.png") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 20, 26, 0.82) 0%, rgba(15, 20, 26, 0.58) 42%, rgba(15, 20, 26, 0.1) 100%);
}

.hero-content {
  position: relative;
  width: min(720px, 100%);
  color: #fff;
}

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

.hero .eyebrow {
  color: var(--brand-gold);
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.95;
}

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

h3 {
  font-size: 1.45rem;
  line-height: 1.2;
}

h4 {
  font-size: 1.05rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
}

.hero-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 800;
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

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

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.section-heading p {
  color: var(--muted);
}

.intro-band {
  background: var(--surface-soft);
}

.commercial-section {
  background: #fbfcfd;
}

.seo-content-section {
  background: #fff;
}

.seo-content {
  max-width: 1080px;
}

.seo-details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.seo-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
}

.seo-details summary::-webkit-details-marker {
  display: none;
}

.seo-details summary::after {
  content: "+";
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand-purple);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
}

.seo-details[open] summary::after {
  content: "-";
}

.seo-details summary .eyebrow {
  display: block;
}

.seo-details summary strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.seo-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding: 0 24px 24px;
}

.seo-copy-grid p {
  color: var(--muted);
}

.blog-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 24px 24px;
}

.blog-link-card,
.blog-card a {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
}

.blog-link-card strong,
.blog-card h2 {
  color: var(--brand-purple);
}

.blog-link-card span,
.blog-card p,
.blog-excerpt,
.blog-body p,
.blog-hero p {
  color: var(--muted);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.service-groups {
  display: grid;
  gap: 36px;
}

.service-panel {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}

.service-panel > h3 {
  color: var(--brand-purple);
}

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

.service-card,
.pricing-card,
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.service-card h4 {
  margin-bottom: 8px;
}

.service-card p,
.pricing-note,
.review-card blockquote,
.faq-layout p,
.contact-copy p,
.site-footer p {
  color: var(--muted);
}

.service-card-link {
  margin-top: auto;
  padding-top: 14px;
  color: var(--brand-purple);
  font-weight: 900;
  text-decoration: none;
}

.service-card-link:hover {
  text-decoration: underline;
}

.pricing-section,
.faq-section {
  background: #f8faf9;
}

.estimate-section {
  background: #fff;
}

.estimate-layout {
  display: grid;
  grid-template-columns: 0.75fr minmax(360px, 560px);
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
}

.estimate-copy p {
  color: var(--muted);
}

.estimate-calculator {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 26, 33, 0.09);
}

.estimate-error {
  margin: 0;
  color: #a33b2f;
  font-weight: 800;
}

.estimate-result {
  padding: 14px;
  border-radius: var(--radius);
  background: #f5f8f6;
  border: 1px solid var(--line);
}

.estimate-result h3 {
  margin-bottom: 8px;
  color: var(--brand-purple);
}

.estimate-result dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.estimate-result div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.estimate-result div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.estimate-result dt {
  color: var(--muted);
  font-weight: 800;
}

.estimate-result dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  text-align: right;
}

.estimate-followup {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf0;
}

.estimate-followup h3,
.estimate-followup p {
  margin: 0;
}

.estimate-followup h3 {
  color: var(--brand-purple);
  font-size: 1.05rem;
}

.estimate-followup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.estimate-contact-fields {
  display: grid;
  gap: 12px;
}

.estimate-sent {
  margin: 0;
  color: #2f7d57;
  font-weight: 900;
}

.estimate-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

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

.pricing-card {
  padding: 24px;
  box-shadow: 0 8px 22px rgba(20, 26, 33, 0.06);
}

.price-rows {
  display: grid;
  gap: 0;
  margin: 18px 0;
  border-top: 1px solid var(--line);
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.price-row strong {
  color: var(--brand-purple);
  white-space: nowrap;
}

.bundle-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.bundle-callout p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

.reviews-section {
  background: #fff;
}

.gallery-section {
  background: #eef5f0;
}

.blog-hero {
  background: #f8faf9;
}

.blog-hero h1 {
  max-width: 780px;
  margin: 0 0 14px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
}

.blog-posts {
  display: grid;
  gap: 18px;
}

.blog-card a:hover {
  border-color: var(--brand-purple);
  box-shadow: 0 10px 24px rgba(20, 26, 33, 0.1);
}

.blog-card h2,
.blog-card p,
.blog-article h1,
.blog-article p {
  margin: 0;
}

.blog-date {
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.blog-article {
  display: grid;
  gap: 18px;
  max-width: 860px;
}

.blog-article h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.blog-body {
  display: grid;
  gap: 16px;
}

.blog-image {
  margin: 8px 0;
}

.blog-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

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

.gallery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.gallery-card h3,
.gallery-card p {
  margin: 0;
  padding: 0 20px 18px;
}

.gallery-card h3 {
  padding-top: 18px;
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.before-after figure {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #d8e0e7;
  cursor: zoom-in;
}

.before-after img,
.custom-section-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(23, 32, 42, 0.82);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.empty-gallery {
  color: var(--muted);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(12, 16, 22, 0.82);
}

.lightbox {
  position: relative;
  width: min(980px, 100%);
  max-height: 92vh;
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
}

.lightbox h3 {
  margin: 0;
}

.lightbox-main {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: var(--radius);
  background: #eef2f4;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-choices {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.lightbox-choices button {
  min-height: 40px;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--brand-purple);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.custom-section:nth-child(even) {
  background: var(--surface-soft);
}

.custom-section-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.custom-section-copy .button {
  margin-top: 10px;
}

.custom-section-image {
  max-height: 420px;
  border-radius: var(--radius);
}

.review-card {
  padding: 24px;
}

.stars {
  color: var(--brand-gold);
  font-weight: 900;
}

blockquote {
  margin: 0 0 18px;
}

cite {
  font-style: normal;
  font-weight: 800;
}

.faq-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.faq-item summary {
  padding: 18px 20px;
  font-weight: 800;
  cursor: pointer;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
}

.contact-section {
  background: linear-gradient(120deg, var(--brand-purple-dark), var(--brand-purple));
  color: #fff;
}

.contact-section .eyebrow {
  color: var(--brand-gold);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  font-weight: 800;
}

.contact-details a {
  color: #fff;
  text-decoration: none;
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

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

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(244, 196, 49, 0.35);
  border-color: var(--brand-purple);
}

.form-submit {
  width: fit-content;
}

.form-note {
  margin: 0;
  color: #a33b2f;
  font-weight: 800;
}

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

.areas span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
}

.area-cta {
  margin-top: 24px;
}

.load-error {
  margin: 0;
  padding: 12px 18px;
  background: #a33b2f;
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer img {
  width: 72px;
  margin-bottom: 8px;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  font-weight: 800;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(12, 16, 22, 0.72);
}

.modal {
  position: relative;
  width: min(560px, 100%);
  padding: 30px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 2rem;
  cursor: pointer;
}

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

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
  }

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

  .header-call,
  .site-header > .button {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .intro-grid,
  .seo-copy-grid,
  .blog-link-grid,
  .service-panel,
  .faq-layout,
  .contact-layout,
  .estimate-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .reviews-grid,
  .gallery-thumbnails,
  .pricing-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .custom-section-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand img {
    width: 78px;
  }

  .hero {
    min-height: 590px;
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .hero-overlay {
    background: rgba(15, 20, 26, 0.7);
  }

  .service-grid,
  .reviews-grid,
  .gallery-thumbnails,
  .pricing-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .bundle-callout,
  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-submit {
    width: 100%;
  }
}
