/* Clean St. MN — site styles
   Brand: Lato, deep blue #2A3E92, black #231F20, white #FFFFFF.
   Script lettering is used only inside the logo artwork. */

:root {
  --blue: #2a3e92;
  --blue-dark: #1f2f73;
  --blue-tint: #eef1fa;
  --black: #231f20;
  --white: #ffffff;
  --gray-50: #f6f7f9;
  --gray-200: #dfe2ea;
  --gray-600: #545867;
  --focus: #f2b632;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(35, 31, 32, 0.06), 0 6px 20px rgba(35, 31, 32, 0.06);
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-underline-offset: 2px;
}

a:hover {
  color: var(--blue-dark);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

/* Even out line lengths. Every text block also ends with a non-breaking space
   between its last two words, so no line is ever left with a single word. */
h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li,
figcaption,
.hint,
.field-error {
  text-wrap: pretty;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.skip-link:focus {
  top: 8px;
  color: var(--white);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.lead {
  font-size: 1.1875rem;
  color: var(--gray-600);
  max-width: 62ch;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn svg {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

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

.btn-primary:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.btn-outline {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--white);
}

.btn-outline:hover {
  background: var(--blue-tint);
  color: var(--blue-dark);
}

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

.btn-white:hover {
  background: var(--blue-tint);
  color: var(--blue-dark);
}

.btn-ghost-white {
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: block;
  flex: none;
  padding: 10px 0 14px;
}

.brand img {
  width: 148px;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--black);
  font-weight: 700;
  font-size: 0.975rem;
  text-decoration: none;
}

.primary-nav a:hover {
  background: var(--blue-tint);
  color: var(--blue);
}

.primary-nav a[aria-current="page"] {
  color: var(--blue);
  box-shadow: inset 0 -3px 0 var(--blue);
  border-radius: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-actions .btn {
  min-height: 44px;
  padding: 0.6rem 1.1rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-actions .btn-call-label {
    display: none;
  }

  .header-actions .btn-call {
    width: 44px;
    padding: 0;
  }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem var(--gutter) 1rem;
  }

  .primary-nav a {
    padding: 0.85rem 0.5rem;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--gray-200);
    border-radius: 0;
  }

  .primary-nav a[aria-current="page"] {
    box-shadow: inset 4px 0 0 var(--blue);
    padding-left: 1rem;
  }
}

@media (max-width: 400px) {
  .brand img {
    width: 120px;
  }
}

/* No-JS fallback: show the menu inline when the toggle can't work */
.no-js .primary-nav {
  position: static;
  display: block;
  box-shadow: none;
  border: 0;
}

.no-js .nav-toggle {
  display: none;
}

/* ---------- Sections ---------- */

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

.section-tint {
  background: var(--gray-50);
}

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

.section-blue .eyebrow,
.section-blue a:not(.btn) {
  color: var(--white);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.center .lead {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
  padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 9vw, 120px);
}

.hero::after {
  /* Subtle "clean stripe" motif — echoes a freshly washed surface. */
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    rgba(255, 255, 255, 0) 0 46px,
    rgba(255, 255, 255, 0.035) 46px 92px
  );
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.hero h1 {
  margin-bottom: 0.35em;
}

.hero .hero-sub {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 54ch;
}

.hero .btn-row {
  margin-top: 1.75rem;
}

.hero-card {
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.hero-card img {
  width: 100%;
  max-width: 360px;
  margin: 0 auto 1.25rem;
}

.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.hero-card li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 700;
}

.hero-card li svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--blue);
}

@media (max-width: 860px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  /* The header already shows the logo on small screens. */
  .hero-card img {
    display: none;
  }
}

/* Inner-page hero */
.page-hero {
  background: var(--blue);
  color: var(--white);
  padding: clamp(44px, 7vw, 80px) 0;
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 62ch;
  font-size: 1.1875rem;
  margin-bottom: 0;
}

.page-hero .btn-row {
  margin-top: 1.5rem;
}

/* ---------- Intro / split ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--blue-tint);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.9375rem;
}

/* ---------- Cards / services ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0.35rem;
}

.card p {
  color: var(--gray-600);
  margin-bottom: 0;
}

.card .icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--blue);
}

.card .icon svg {
  width: 26px;
  height: 26px;
}

.card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.card.featured .icon {
  margin: 0;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.card.featured .icon svg {
  width: 34px;
  height: 34px;
}

.card.featured p {
  color: rgba(255, 255, 255, 0.9);
}

.card.featured .tag {
  background: var(--white);
  color: var(--blue);
}

@media (max-width: 720px) {
  .card.featured {
    grid-template-columns: 1fr;
  }
}

.tag {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--blue-tint);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-link {
  margin-top: 1rem;
  font-weight: 700;
}

/* Services page detail blocks */
.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(40px, 6vw, 64px) 0;
  border-top: 1px solid var(--gray-200);
  scroll-margin-top: 90px;
}

.service-detail:first-of-type {
  border-top: 0;
}

.service-detail:nth-of-type(even) .service-media {
  order: -1;
}

.service-detail ul {
  padding-left: 1.2rem;
  color: var(--gray-600);
}

@media (max-width: 820px) {
  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-of-type(even) .service-media {
    order: 0;
  }
}

.season-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--blue-tint);
  color: var(--black);
}

.season-note svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--blue);
}

.season-note p {
  margin: 0;
}

/* Jump links on services page */
.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jump-links a {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
}

.jump-links a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ---------- Photo placeholders / before-after ---------- */

.photo-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border: 2px dashed #b9c0d6;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(42, 62, 146, 0.05) 25%, transparent 25%) 0 0 / 24px 24px,
    var(--gray-50);
  color: var(--gray-600);
  text-align: center;
  padding: 1rem;
}

.photo-placeholder span {
  display: block;
  max-width: 26ch;
  font-size: 0.9375rem;
}

.photo-placeholder strong {
  display: block;
  color: var(--blue);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(460px, 100%), 1fr));
  gap: 1.5rem;
}

.ba-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--gray-200);
}

.ba-pair .photo-placeholder,
.ba-pair img {
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  width: 100%;
}

.ba-label {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ba-label.after {
  background: var(--blue);
}

.ba-pair > div {
  position: relative;
}

/* On phones, stack before over after so each photo stays a useful size. */
@media (max-width: 560px) {
  .ba-pair {
    grid-template-columns: 1fr;
  }
}

.service-photo {
  margin: 0;
}

.service-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.service-photo figcaption {
  margin-top: 0.5rem;
  color: var(--gray-600);
  font-size: 0.9375rem;
}

.ba-card.is-featured {
  grid-column: 1 / -1;
  border-color: var(--blue);
}

.ba-card figcaption {
  padding: 1rem 1.25rem 1.25rem;
}

.ba-card figcaption strong {
  display: block;
  font-size: 1.0625rem;
}

.ba-card figcaption span {
  color: var(--gray-600);
  font-size: 0.9375rem;
}

/* Gallery filter */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-bar button {
  min-height: 40px;
  padding: 0.4rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
}

.filter-bar button[aria-pressed="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* ---------- Why choose ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-grid li {
  padding-top: 1.25rem;
  border-top: 3px solid rgba(255, 255, 255, 0.35);
}

.section:not(.section-blue) .why-grid li {
  border-top-color: var(--blue);
}

.why-grid h3 {
  margin-bottom: 0.35rem;
}

.why-grid p {
  margin: 0;
  opacity: 0.9;
}

/* ---------- Audience ---------- */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

/* ---------- Service area ---------- */

.area-map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--blue-tint);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.area-map svg {
  width: 100%;
  max-width: 420px;
}

.area-map .provisional {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--gray-600);
  font-size: 0.75rem;
  font-weight: 700;
}

/* ---------- Testimonials ---------- */

.review-placeholder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.review-card {
  margin: 0;
  padding: 1.5rem;
  border: 2px dashed #b9c0d6;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray-600);
}

.review-card .stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.75rem;
  color: #c7cde0;
}

.review-card .stars svg {
  width: 20px;
  height: 20px;
}

.review-card p {
  font-style: italic;
}

.review-card cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.9375rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--blue);
  color: var(--white);
  padding: clamp(48px, 7vw, 80px) 0;
}

.cta-band .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 3rem;
  align-items: center;
}

.cta-band h2 {
  margin-bottom: 0.25em;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
}

.cta-band .phone-big {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.cta-band .phone-big:hover {
  text-decoration: underline;
  color: var(--white);
}

@media (max-width: 760px) {
  .cta-band .container {
    grid-template-columns: 1fr;
  }
}

/* ---------- Estimate form ---------- */

.estimate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

@media (max-width: 900px) {
  .estimate-layout {
    grid-template-columns: 1fr;
  }
}

.form-card {
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

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

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.field .req {
  color: #b42318;
}

.field .hint {
  display: block;
  margin-top: 0.35rem;
  color: var(--gray-600);
  font-size: 0.875rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid #9aa1b4;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--black);
  font: inherit;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(42, 62, 146, 0.25);
  outline-offset: 0;
}

.field input[type="file"] {
  padding: 0.6rem;
  background: var(--gray-50);
}

.field [aria-invalid="true"] {
  border-color: #b42318;
}

.field-error {
  display: block;
  margin-top: 0.35rem;
  color: #b42318;
  font-size: 0.875rem;
  font-weight: 700;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem 1rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkbox-group legend {
  margin-bottom: 0.5rem;
  padding: 0;
  font-weight: 700;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 40px;
  font-weight: 400;
  cursor: pointer;
}

.checkbox-group input {
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.form-note {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.9375rem;
}

.form-status {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.form-status[hidden] {
  display: none;
}

.form-status.is-info {
  background: var(--blue-tint);
  color: var(--blue-dark);
}

.form-status.is-success {
  background: #e7f6ec;
  color: #14532d;
}

.form-status.is-error {
  background: #fdecea;
  color: #8a1c12;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.contact-panel {
  display: grid;
  gap: 1.25rem;
}

.contact-panel .card {
  box-shadow: none;
}

.contact-line {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  color: var(--black);
  word-break: break-word;
}

.contact-line svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.steps li {
  position: relative;
  padding-left: 2.75rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
}

.steps strong {
  display: block;
}

.steps span {
  color: var(--gray-600);
}

/* ---------- TODO markers (visible only in preview builds) ---------- */

.todo-flag {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  background: #fff4d6;
  color: #6b4b00;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Hide all TODO flags once launched by adding class="is-production" to <html>. */
.is-production .todo-flag {
  display: none;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.85);
  padding: 56px 0 28px;
  font-size: 0.975rem;
}

.site-footer a {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand img {
  width: 170px;
  margin-bottom: 1rem;
  padding: 10px 12px;
  background: var(--white);
  border-radius: var(--radius-sm);
}

.footer-tagline {
  font-weight: 700;
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.site-footer h2 {
  margin-bottom: 0.75rem;
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.site-footer ul a {
  text-decoration: none;
}

.site-footer ul a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Mobile sticky call bar ---------- */

.mobile-callbar {
  display: none;
}

@media (max-width: 720px) {
  .mobile-callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 16px rgba(35, 31, 32, 0.08);
  }

  .mobile-callbar .btn {
    min-height: 48px;
    padding: 0.6rem 0.75rem;
  }

  body {
    padding-bottom: 72px;
  }
}

/* ---------- Scrub it clean ---------- */

.scrub-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-bottom: 2.5rem;
  padding: clamp(20px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--blue-tint);
}

@media (max-width: 820px) {
  .scrub-feature {
    grid-template-columns: 1fr;
  }
}

.scrub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
}

.scrub-copy p {
  color: var(--gray-600);
}

.scrub-done {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--black) !important;
  font-weight: 700;
}

.scrub-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.scrub-after,
.scrub-after img,
.scrub-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scrub-after img {
  object-fit: cover;
}

.scrub-canvas {
  cursor: grab;
}

.scrub-canvas:active {
  cursor: grabbing;
}

/* Glossy white subway tile, used until real photos arrive. */
.scrub-demo-tile {
  background-color: #fbfcfe;
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.9) 45%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(#d9dde8 2px, transparent 2px),
    linear-gradient(90deg, #d9dde8 2px, transparent 2px),
    linear-gradient(180deg, #ffffff, #eef1f7);
  background-size: 100% 100%, 64px 32px, 64px 32px, 100% 100%;
}

.scrub-stage .ba-label {
  z-index: 2;
  pointer-events: none;
}

.scrub-stage .ba-label.after {
  left: auto;
  right: 10px;
}

.scrub-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
}

.scrub-controls label {
  font-weight: 700;
}

.scrub-controls input[type="range"] {
  flex: 1 1 180px;
  min-width: 0;
  accent-color: var(--blue);
}

.scrub-controls .btn {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.9375rem;
}

.service-perks {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.service-perks li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--black);
}

.service-perks li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.45em;
  width: 0.5rem;
  height: 0.8rem;
  border: solid var(--blue);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.credential {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 1.5rem 0 0;
  padding: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--gray-50);
}

.credential img {
  flex: none;
  width: 120px;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.credential figcaption strong {
  display: block;
}

.credential figcaption span {
  color: var(--gray-600);
  font-size: 0.9375rem;
}

/* Long-form text pages (aftercare) */
.prose {
  max-width: 760px;
}

.prose h2 {
  margin-top: 2.5rem;
  font-size: 1.5rem;
}

.prose ul {
  display: grid;
  gap: 0.75rem;
  padding-left: 1.25rem;
}

.prose li::marker {
  color: var(--blue);
}

.callout {
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  background: var(--blue-tint);
}

/* ---------- Real reviews ---------- */

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.25rem;
}

.review-grid .review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--gray-200);
  border-top: 4px solid var(--blue);
  color: var(--black);
  box-shadow: var(--shadow);
}

.review-grid blockquote {
  margin: 0;
}

.review-grid blockquote p {
  margin: 0;
  font-size: 1.0625rem;
  font-style: normal;
  line-height: 1.55;
}

.review-grid cite {
  display: block;
  font-style: normal;
  font-weight: 700;
}

.review-grid figcaption span {
  color: var(--gray-600);
  font-size: 0.875rem;
}

.service-quote {
  margin: 1.25rem 0 0;
  padding: 0.25rem 0 0.25rem 1rem;
  border-left: 3px solid var(--blue);
}

.service-quote p {
  margin: 0 0 0.35rem;
  font-style: italic;
}

.service-quote footer {
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 700;
}
