:root {
  --blue: #1E88E5;
  --green: #22C55E;
  --text: #1F2937;
  --muted: #64748B;
  --soft: #F8FAFC;
  --line: #E5E7EB;
  --white: #FFFFFF;
  --danger: #DC2626;
  --shadow: 0 18px 45px rgba(31, 41, 55, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 7vw, 5.2rem);
  line-height: .98;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 12px;
  font-size: clamp(1.75rem, 4.7vw, 3.1rem);
  line-height: 1.07;
  letter-spacing: 0;
}
h3 { margin-bottom: 10px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 56px);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand, .call-link { display: flex; align-items: center; gap: 10px; font-weight: 850; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: white;
  background: var(--blue);
  border-radius: 8px;
}
.nav { display: none; gap: 22px; color: var(--muted); font-weight: 750; }
.call-link { color: var(--blue); white-space: nowrap; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}
.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.32rem);
}
.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}
.btn.primary { background: var(--green); color: white; box-shadow: 0 12px 28px rgba(34, 197, 94, .24); }
.btn.secondary { background: #EAF5FE; color: var(--blue); }
.btn.full { width: 100%; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.home-hero, .service-hero {
  display: grid;
  gap: 30px;
  padding: 38px clamp(16px, 4vw, 56px) 28px;
  align-items: center;
}
.home-hero { min-height: 58svh; }
.home-photo, .service-photo {
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}
.home-photo img, .service-photo img { width: 100%; height: 100%; object-fit: cover; }
.memorial .service-photo img { object-position: center; }

.section, .calculator-band, .order-band, .why-band {
  padding: 62px clamp(16px, 4vw, 56px);
}
.section.compact { padding-top: 24px; }
.section-head { max-width: 820px; margin-bottom: 28px; }
.service-grid, .review-grid, .include-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.home-services { gap: 18px; }
.service-card, .review-card, .include-card, .calculator, .order-form, .why-band article, .calc-value {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 32px rgba(31, 41, 55, .06);
}
.service-card {
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: 24px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: #B9DDFA;
  box-shadow: var(--shadow);
}
.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--blue);
  background: #F3F9FF;
  border: 1px solid #D8ECFC;
  border-radius: 8px;
}
.service-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-title { font-size: 1.35rem; font-weight: 950; }
.card-price {
  color: #15803D;
  font-size: 1.45rem;
  font-weight: 950;
  line-height: 1;
}
.card-text { color: var(--muted); }
.card-link { color: var(--blue); font-weight: 900; }

.result-photo-section {
  display: grid;
  gap: 24px;
  align-items: center;
}
.result-photo-section p { color: var(--muted); max-width: 680px; }
.result-photo {
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}
.result-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-section {
  display: grid;
  gap: 24px;
  background: var(--soft);
}
.result-copy p { color: var(--muted); max-width: 680px; }
.compare-frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1.55 / 1;
  background-image: var(--compare-image, url("assets/before-after-cleaning.png"));
  background-size: var(--compare-size, 200% 600%);
  box-shadow: var(--shadow);
}
.hero-compare { min-height: 0; }
.compare-before, .compare-after {
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: inherit;
  background-position-y: var(--row);
}
.compare-before { background-position-x: 0; }
.compare-after {
  background-position-x: 100%;
  clip-path: inset(0 calc(100% - var(--split, 58%)) 0 0);
}
.compare-handle {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: ew-resize;
}
.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 58%);
  width: 3px;
  background: white;
  box-shadow: 0 0 0 1px rgba(31, 41, 55, .15);
}

.include-card { padding: 22px; }
.muted-card { background: #FFF; }
ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  font-weight: 760;
}
li.yes::before { content: "✓"; color: var(--green); font-weight: 950; }
li.no::before { content: "✗"; color: var(--danger); font-weight: 950; }

.review-grid { grid-template-columns: 1fr; }
.review-card { padding: 18px; }
.review-card p { color: var(--muted); margin-bottom: 0; }
.reviewer { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-weight: 900; }
.stars { color: #F59E0B; white-space: nowrap; }

.why-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  background: #EFF8FF;
}
.why-band article { padding: 18px; display: grid; gap: 6px; }
.why-band span { color: var(--muted); }

.calculator-band {
  display: grid;
  gap: 24px;
  background: var(--soft);
  align-items: start;
}
.calc-value, .order-summary { padding: 16px; display: grid; gap: 10px; }
.calc-value h2, .order-summary h2 {
  margin-bottom: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}
.calc-value img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}
blockquote {
  margin: 0;
  padding: 16px;
  border-left: 4px solid var(--green);
  background: #F0FDF4;
  color: #166534;
  font-weight: 820;
}
blockquote span { display: block; margin-top: 8px; color: var(--muted); font-weight: 760; }
.order-summary-list {
  display: grid;
  gap: 0;
  margin: 0;
}
.order-summary-list div {
  display: grid;
  gap: 3px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.order-summary-list div:last-child { border-bottom: 0; }
.order-summary-list dt {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
}
.order-summary-list dd {
  margin: 0;
  color: var(--text);
  font-size: .98rem;
  font-weight: 950;
}
.order-summary-list div:last-child dd {
  color: #15803D;
  font-size: 1.35rem;
}
.calculator, .order-form { padding: 20px; }
label, .field-label {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
  font-weight: 850;
}
input, textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  background: white;
  font: inherit;
}
textarea { resize: vertical; }
.option-group, .addon-grid { display: grid; gap: 10px; margin-bottom: 18px; }
.choice {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  background: white;
}
.choice input { width: 20px; min-height: 20px; accent-color: var(--green); }
.compact-options .choice { grid-template-columns: 1fr auto; }
.price-box {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 16px;
  border-radius: 8px;
  background: #EFFDF4;
  border: 1px solid #BBF7D0;
}
.price-box > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.price-box span { color: #166534; font-weight: 850; }
.price-box strong { color: #15803D; font-size: 1.45rem; line-height: 1; white-space: nowrap; }
.price-box .total-row {
  padding-top: 12px;
  border-top: 1px solid #BBF7D0;
}
.price-box .total-row strong { font-size: 2.2rem; }
.price-box small { color: #166534; }

.order-band {
  display: grid;
  gap: 24px;
  background: white;
}
.order-copy p { color: var(--muted); }
.form-row { display: grid; gap: 0; }
.form-status { min-height: 24px; margin: 10px 0 0; color: #166534; font-weight: 850; }
.thank-you {
  grid-column: 1 / -1;
  max-width: 620px;
  margin: 0 auto;
  padding: 34px;
  text-align: center;
  border: 1px solid #BBF7D0;
  border-radius: 8px;
  background: #F0FDF4;
  box-shadow: var(--shadow);
}
.thank-you p { color: #166534; }
.faq-list { display: grid; gap: 10px; }
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  background: white;
}
summary { cursor: pointer; font-weight: 900; }
details p { margin: 10px 0 0; color: var(--muted); }

.footer {
  display: grid;
  gap: 22px;
  padding: 34px clamp(16px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--soft);
}
.footer p { color: var(--muted); margin-bottom: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 18px; color: var(--blue); font-weight: 850; }

@media (min-width: 760px) {
  .nav { display: flex; }
  .home-hero, .service-hero { grid-template-columns: .9fr 1fr; }
  .hero-compare { min-height: 260px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .result-photo-section { grid-template-columns: .82fr 1.18fr; }
  .result-section, .calculator-band, .order-band { grid-template-columns: .82fr 1.18fr; }
  .include-grid { grid-template-columns: 1fr 1fr; }
  .review-grid, .why-band { grid-template-columns: repeat(3, 1fr); }
  .why-band article:nth-child(4) { grid-column: span 3; }
  .form-row { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer { grid-template-columns: 1fr 1.5fr; align-items: start; }
}

@media (min-width: 1100px) {
  .service-hero { min-height: 76svh; }
  .home-hero { grid-template-columns: .78fr 1.22fr; }
  .calculator-band { grid-template-columns: .95fr 1.05fr; }
}

@media (max-width: 759px) {
  .topbar { padding: 10px 14px; }
  .brand span:last-child { max-width: 120px; line-height: 1.05; }
  .call-link { font-size: .88rem; }
  .home-photo, .service-photo { order: -1; }
  .hero-actions .btn { flex: 1 1 150px; }
  .choice { grid-template-columns: 1fr auto; }
  .choice input { grid-column: 2; grid-row: 1 / span 2; }
  .price-box > div { align-items: flex-start; }
}
