@charset "UTF-8";

/* CleaningBooker — layout & theme */
:root {
  --bg: #f8faf9;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --line-faint: rgba(15, 23, 42, 0.08);
  --brand: #0d6b5c;
  --brand-dark: #094a42;
  --brand-soft: #e6f4f1;
  --accent: #c9a227;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -24px rgba(15, 23, 42, 0.35);
  --shadow-card: 0 4px 24px -6px rgba(15, 23, 42, 0.12), 0 12px 40px -16px rgba(13, 107, 92, 0.08);
  --shadow-card-hover: 0 8px 32px -8px rgba(15, 23, 42, 0.16), 0 20px 48px -20px rgba(13, 107, 92, 0.12);
  --hero-form-bg: linear-gradient(165deg, #f7fbf9 0%, #eef6f3 48%, #e8f2ee 100%);
  --hero-form-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 18px 42px -20px rgba(13, 107, 92, 0.22),
    0 32px 64px -32px rgba(15, 23, 42, 0.12);
  --stat-shadow: 0 1px 2px rgba(13, 107, 92, 0.05), 0 10px 28px -12px rgba(13, 107, 92, 0.2),
    0 24px 48px -28px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --max: 1120px;
  --hero-bg-image: url("../images/bac.jpg");
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath stroke='%230d6b5c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M5.5 10.2 8.5 13l6-6.5'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  /* Avoid mobile scroll “jump” when images/layout below the hero load (scroll anchoring). */
  overflow-anchor: none;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

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

a {
  color: var(--brand);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.15em;
}

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

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 249, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .header-inner {
    flex-wrap: nowrap;
    gap: 0.75rem;
  }

  .site-header .nav {
    display: none;
  }

  .header-cta .phone-link {
    display: none;
  }

  .header-cta {
    flex-shrink: 0;
  }

  .logo {
    font-size: 1.2rem;
    min-width: 0;
  }

  .header-cta .btn {
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    white-space: nowrap;
  }
}

.logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.logo:hover {
  color: var(--ink);
}

.logo span {
  color: var(--brand);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--brand);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.phone-link {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.phone-link:hover {
  color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.18s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -12px rgba(13, 107, 92, 0.45);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px -8px rgba(13, 107, 92, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover,
  .btn:active {
    transform: none;
  }
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 16px -6px rgba(13, 107, 92, 0.55);
}

.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
}

a.btn-primary,
a.btn-primary:hover,
a.btn-service,
a.btn-service:hover {
  color: #fff;
}

.btn-outline {
  background: var(--surface);
  color: var(--brand);
  border: 2px solid var(--brand);
  box-shadow: 0 2px 12px -8px rgba(15, 23, 42, 0.2);
}

.btn-outline:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
  border-color: var(--brand-dark);
}

a.btn-outline:hover {
  color: var(--brand-dark);
}

.btn-service {
  align-self: stretch;
  text-align: center;
  padding: 0.8rem 1.35rem;
  font-size: 1rem;
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--brand);
  box-shadow: 0 6px 22px -10px rgba(13, 107, 92, 0.65);
}

.btn-service:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}

/* Hero */
.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6.5rem);
  position: relative;
  overflow: hidden;
  background-color: var(--bg);
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% 15%, rgba(13, 107, 92, 0.08), transparent 60%),
    linear-gradient(
      115deg,
      rgba(248, 250, 249, 0.92) 0%,
      rgba(248, 250, 249, 0.78) 38%,
      rgba(232, 242, 238, 0.52) 72%,
      rgba(230, 244, 241, 0.35) 100%
    );
}

/* Narrow strip only at hero ↔ next section — hides photo seam without heavy overlay */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  height: clamp(52px, 11vmin, 100px);
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(248, 250, 249, 0) 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 0;
  column-gap: clamp(2rem, 5vw, 3.25rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    column-gap: clamp(3rem, 5vw, 4.25rem);
  }
}

/* Quote wizard: modal only (#quote-sheet lives outside hero; no inline column). */

@media (min-width: 900px) {
  .quote-sheet {
    position: static;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
  }

  .quote-sheet__backdrop,
  .quote-sheet__close {
    display: none !important;
  }

  /* Checklist (and similar): desktop = centered floating dialog; mobile stays bottom sheet */
  .quote-sheet.quote-sheet--page-modal {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: clamp(1rem, 4vw, 2rem);
    max-width: none;
    max-height: none;
    border: none;
    background: transparent;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.26s ease,
      visibility 0.26s ease;
  }

  .quote-sheet.quote-sheet--page-modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .quote-sheet.quote-sheet--page-modal .quote-sheet__backdrop {
    position: absolute;
    inset: 0;
    display: block !important;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .quote-sheet.quote-sheet--page-modal .quote-sheet__close {
    position: absolute;
    top: calc(0.65rem - 10px);
    right: 0.65rem;
    z-index: 2;
    transform: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0.25rem;
    border: none;
    border-radius: 6px;
    background: transparent !important;
    color: #64748b;
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: none !important;
  }

  .quote-sheet.quote-sheet--page-modal .quote-sheet__close:hover {
    background: transparent !important;
    color: var(--ink);
  }

  .quote-sheet.quote-sheet--page-modal .quote-sheet__close:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
  }

  .quote-sheet.quote-sheet--page-modal .hero-card {
    position: relative;
    z-index: 1;
    width: min(440px, 100%);
    max-height: min(85vh, 720px);
    overflow-y: auto;
    margin: 0;
    padding-top: clamp(1.75rem, 3vw, 2rem);
    border-radius: var(--radius);
    box-shadow:
      var(--hero-form-shadow),
      0 24px 64px -24px rgba(15, 23, 42, 0.35),
      0 0 0 1px rgba(15, 23, 42, 0.06);
    transform: scale(0.96) translateY(10px);
    opacity: 0;
    transition:
      transform 0.32s cubic-bezier(0.32, 0.72, 0, 1),
      opacity 0.28s ease;
  }

  .quote-sheet.quote-sheet--page-modal.is-open .hero-card {
    transform: scale(1) translateY(0);
    opacity: 1;
  }

  .quote-sheet.quote-sheet--page-modal #quote-heading {
    padding-right: 2.75rem;
    margin-top: 0;
  }
}

@media (min-width: 900px) and (prefers-reduced-motion: reduce) {
  .quote-sheet.quote-sheet--page-modal {
    transition: opacity 0.15s ease, visibility 0.15s ease;
  }

  .quote-sheet.quote-sheet--page-modal .hero-card {
    transform: none;
    transition: none;
  }
}

body.quote-modal-open {
  overflow: hidden;
  touch-action: none;
}

@media (max-width: 899px) {
  .quote-sheet {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    max-width: none;
    max-height: none;
    border: none;
    background: transparent;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.28s ease,
      visibility 0.28s ease;
  }

  .quote-sheet.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .quote-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .quote-sheet .hero-card {
    position: relative;
    width: 100%;
    max-height: min(88vh, 720px);
    overflow-y: auto;
    margin: 0;
    padding-top: clamp(2.5rem, 6.5vw, 3rem);
    border-radius: var(--radius) var(--radius) 0 0;
    box-shadow: var(--hero-form-shadow), 0 -8px 40px rgba(15, 23, 42, 0.12);
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  }

  .quote-sheet.is-open .hero-card {
    transform: translateY(0);
  }

  .quote-sheet__close {
    position: absolute;
    top: calc(0.35rem - 10px);
    right: 0.45rem;
    z-index: 2;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    min-height: 2.5rem;
    padding: 0.25rem;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #64748b;
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: none;
  }

  .quote-sheet__close:hover {
    background: transparent;
    color: var(--ink);
  }

  .quote-sheet__close:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
  }

  #quote-heading {
    padding-right: 2.75rem;
    margin-top: 0.15rem;
  }
}

@media (max-width: 899px) and (prefers-reduced-motion: reduce) {
  .quote-sheet {
    transition: none;
  }

  .quote-sheet .hero-card {
    transition: none;
  }
}

.badge-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-card);
}

.badge-row strong {
  color: var(--accent);
  letter-spacing: 0.02em;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.35rem, 5.2vw, 3.45rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1.1rem;
  font-weight: 650;
  color: #0f172a;
  text-shadow:
    0 0 1px rgba(248, 250, 249, 0.95),
    0 1px 2px rgba(248, 250, 249, 0.92),
    0 2px 14px rgba(248, 250, 249, 0.75),
    0 4px 28px rgba(248, 250, 249, 0.45);
}

.hero-lead {
  font-size: 1.1875rem;
  font-weight: 600;
  color: #1e293b;
  letter-spacing: -0.015em;
  max-width: 46ch;
  margin: 0 0 1.85rem;
  line-height: 1.55;
  text-wrap: balance;
  text-shadow:
    0 0 1px rgba(248, 250, 249, 0.98),
    0 1px 3px rgba(248, 250, 249, 0.9),
    0 2px 18px rgba(248, 250, 249, 0.65);
}

/* Hero: one CTA row; heading + lead swap — scoped + !important so nothing overrides display */
.hero h1 .hero-heading__mobile,
.hero .hero-lead--mobile {
  display: none !important;
}

.hero h1 .hero-heading__desktop {
  display: block;
}

@media (min-width: 768px) {
  .hero h1 .hero-heading__mobile,
  .hero .hero-lead--mobile {
    display: none !important;
  }

  .hero h1 .hero-heading__desktop {
    display: block !important;
  }

  .hero .hero-lead--desktop {
    display: block !important;
  }
}

@media (max-width: 767px) {
  .hero .hero-copy--desktop {
    display: none !important;
  }

  .hero h1 .hero-heading__desktop {
    display: none !important;
  }

  .hero h1 .hero-heading__mobile {
    display: block !important;
    font-family: var(--display);
    font-size: clamp(2.35rem, 5.2vw, 3.45rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 650;
    color: #0f172a;
    text-shadow:
      0 0 1px rgba(248, 250, 249, 0.95),
      0 1px 2px rgba(248, 250, 249, 0.92),
      0 2px 14px rgba(248, 250, 249, 0.75),
      0 4px 28px rgba(248, 250, 249, 0.45);
  }

  .hero .hero-lead--desktop {
    display: none !important;
  }

  .hero .hero-lead--mobile {
    display: block !important;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.hero-card {
  background: var(--hero-form-bg);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 1.85rem);
  border: 1px solid rgba(13, 107, 92, 0.14);
  box-shadow: var(--hero-form-shadow);
  position: relative;
  isolation: isolate;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, 0.55) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

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

.hero-card h2 {
  font-family: var(--display);
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

.quote-mini label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.quote-mini input,
.quote-mini select,
.quote-mini textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  margin-bottom: 0.85rem;
  background: #fff;
}

.quote-mini textarea {
  min-height: 88px;
  resize: vertical;
}

.quote-mini button {
  width: 100%;
}

/* —— Quote wizard (multi-step) —— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-card.quote-wizard-card {
  padding-top: clamp(1.35rem, 2.5vw, 1.65rem);
}

@media (min-width: 900px) {
  .quote-sheet.quote-sheet--page-modal .quote-wizard-card {
    max-height: min(88vh, 680px);
    overflow-y: auto;
  }
}

.hero-card.quote-wizard-card > .quote-sheet__close {
  top: calc(0.65rem - 10px);
}

.quote-wizard {
  --qw-accent: #2563eb;
  --qw-accent-soft: rgba(37, 99, 235, 0.12);
  --qw-border: var(--line);
}

.quote-wizard__progress {
  margin: 0 0 1.25rem;
}

.quote-wizard__progress-track {
  height: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.quote-wizard__progress-fill {
  height: 100%;
  width: 25%;
  border-radius: inherit;
  background: var(--qw-accent);
  transition: width 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  .quote-wizard__progress-fill {
    transition: none;
  }
}

.quote-wizard__title {
  font-family: var(--font);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 1.1rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.quote-wizard__title--lg {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  margin-bottom: 1.15rem;
}

.quote-wizard__step {
  margin: 0;
  padding: 0;
  border: none;
  min-width: 0;
}

.quote-wizard__step-group + .quote-wizard__step-group {
  margin-top: 1.35rem;
}

.quote-wizard__options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.quote-wizard__card {
  display: block;
  cursor: pointer;
  margin: 0;
}

.quote-wizard__card-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.quote-wizard__card-ui {
  display: block;
  padding: 0.85rem 0.95rem;
  border: 2px solid var(--qw-border);
  border-radius: var(--radius-sm);
  background: #fff;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.quote-wizard__card:hover .quote-wizard__card-ui {
  border-color: rgba(37, 99, 235, 0.35);
}

.quote-wizard__card-input:focus-visible + .quote-wizard__card-ui {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.quote-wizard__card-input:checked + .quote-wizard__card-ui {
  border-color: var(--qw-accent);
  background: var(--qw-accent-soft);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2);
}

.quote-wizard__card-main {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.quote-wizard__card-radio {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  border: 2px solid #94a3b8;
  border-radius: 50%;
  background: #fff;
  position: relative;
}

.quote-wizard__card-input:checked + .quote-wizard__card-ui .quote-wizard__card-radio {
  border-color: var(--qw-accent);
  background: #fff;
}

.quote-wizard__card-input:checked + .quote-wizard__card-ui .quote-wizard__card-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--qw-accent);
}

.quote-wizard__card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
}

.quote-wizard__card-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
}

.quote-wizard__badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--qw-accent);
  border-radius: 999px;
}

.quote-wizard__card-desc {
  display: block;
  margin-top: 0.35rem;
  margin-left: calc(1.15rem + 0.65rem);
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.45;
}

.quote-wizard__card--simple .quote-wizard__card-desc {
  margin-left: calc(1.15rem + 0.65rem);
}

.quote-wizard__card-list {
  margin: 0.5rem 0 0;
  padding: 0 0 0 calc(1.15rem + 0.65rem);
  list-style: none;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.quote-wizard__card-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.25rem;
}

.quote-wizard__card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--qw-accent);
  font-weight: 700;
  font-size: 0.75rem;
}

.quote-wizard__pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.quote-wizard__pill {
  margin: 0;
  cursor: pointer;
}

.quote-wizard__pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.quote-wizard__pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  padding: 0.55rem 0.75rem;
  border: 2px solid var(--qw-border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  background: #fff;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.quote-wizard__pill:hover span {
  border-color: rgba(37, 99, 235, 0.35);
}

.quote-wizard__pill input:focus-visible + span {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.quote-wizard__pill input:checked + span {
  border-color: var(--qw-accent);
  background: var(--qw-accent-soft);
  color: var(--ink);
}

.quote-wizard__select-label {
  display: block;
  margin-bottom: 0.5rem;
}

.quote-wizard__select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 2px solid var(--qw-border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.quote-wizard__select:focus {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.quote-wizard__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 0.75rem;
}

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

.quote-wizard__field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.quote-wizard__field input {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 2px solid var(--qw-border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.95rem;
  background: #fff;
}

.quote-wizard__field input:focus {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.quote-wizard__field--full {
  grid-column: 1 / -1;
}

.quote-wizard__disclaimer {
  margin: 0.85rem 0 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--muted);
}

.quote-wizard__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 1.35rem;
  padding-top: 0.25rem;
}

/* First question: only Next (no Back, no submit) */
.quote-wizard[data-wizard-step="0"] .quote-wizard__back,
.quote-wizard[data-wizard-step="0"] .quote-wizard__submit {
  display: none !important;
}

.quote-wizard[data-wizard-step="0"] .quote-wizard__nav {
  justify-content: flex-end;
}

/* Bedrooms/bathrooms + square footage: only Back + Next (no “Get my free quote”) */
.quote-wizard[data-wizard-step="1"] .quote-wizard__submit,
.quote-wizard[data-wizard-step="2"] .quote-wizard__submit {
  display: none !important;
}

.quote-wizard[data-wizard-step="1"] .quote-wizard__back,
.quote-wizard[data-wizard-step="2"] .quote-wizard__back,
.quote-wizard[data-wizard-step="1"] .quote-wizard__next,
.quote-wizard[data-wizard-step="2"] .quote-wizard__next {
  display: inline-flex !important;
}

/* Last step: submit + Back, no Next */
.quote-wizard[data-wizard-step="3"] .quote-wizard__next {
  display: none !important;
}

.quote-wizard__back.btn-outline {
  margin-right: auto;
}

.quote-wizard__nav .btn-primary {
  min-width: 6.5rem;
}

.quote-wizard__submit {
  width: auto;
  align-self: flex-start;
}

/* Sections */
section {
  padding: clamp(4.25rem, 11vw, 7.5rem) 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 3.25rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
  max-width: 520px;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.8vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 0.55rem;
}

@media (max-width: 767px) {
  .hero {
    padding-bottom: clamp(1.25rem, 5vw, 2.25rem);
  }

  .hero h1 {
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.92);
  }

  .hero-heading__mobile {
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.92);
  }

  .hero-lead--mobile {
    color: #475569;
    font-weight: 500;
    max-width: none;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95);
  }

  #gallery {
    padding-top: 0.35rem;
    padding-bottom: clamp(3.25rem, 9vw, 5.5rem);
  }

  #gallery .section-head {
    margin-bottom: clamp(1rem, 3vw, 1.35rem);
  }
}

/* Desktop: hero photo fills viewport height; portfolio keeps normal section rhythm (tight spacing is mobile-only) */
@media (min-width: 768px) {
  .hero {
    min-height: min(92vh, 920px);
  }

  #gallery {
    padding-top: clamp(4.75rem, 11vw, 8rem);
    padding-bottom: clamp(4.25rem, 11vw, 7.5rem);
    background-color: var(--bg);
  }

  #gallery .section-head {
    margin-bottom: clamp(2.5rem, 5vw, 3.25rem);
  }
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 2.25rem;
  column-gap: 1.35rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.75rem;
    row-gap: 3rem;
  }
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.85rem;
    row-gap: 3.5rem;
  }
}

/* Portfolio carousel — mobile only; desktop keeps grid */
@media (max-width: 767px) {
  /*
    Carousel sits outside .wrap so the scrollport is full section width (no breakout math).
    --carousel-pad: (scrollport width − card width) / 2 — set in JS; CSS fallback if no JS.
  */
  [data-gallery-carousel] {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    --carousel-pad: max(0.75rem, calc((100vw - min(88vw, calc(100vw - 3rem))) / 2));
  }

  .gallery-carousel__viewport {
    position: relative;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: env(safe-area-inset-left, 0px) env(safe-area-inset-right, 0px);
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    outline: none;
    touch-action: pan-x pinch-zoom;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .gallery-carousel__viewport::-webkit-scrollbar {
    display: none;
  }

  .gallery-carousel__track.gallery-grid {
    position: relative;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    width: max-content;
    max-width: none;
    /* gap only — do not unset column-gap/row-gap (that removes flex spacing) */
    gap: 1.65rem;
    grid-template-columns: unset !important;
    grid-template-rows: unset !important;
    grid-auto-flow: unset !important;
    justify-content: flex-start;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0.35rem;
    padding-left: var(--carousel-pad);
    padding-right: var(--carousel-pad);
  }

  .gallery-carousel .gallery-item {
    flex: 0 0 min(88vw, calc(100vw - 3rem));
    max-width: 360px;
    min-width: 0;
    margin: 0;
    scroll-snap-align: center;
  }
}

@media (min-width: 768px) {
  [data-gallery-carousel] {
    width: min(100% - 2.5rem, var(--max));
    max-width: none;
    margin-inline: auto;
    --carousel-pad: 0px;
  }

  .gallery-carousel__viewport {
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
    scroll-snap-type: none;
  }

  .gallery-carousel__track.gallery-grid {
    overflow: visible;
    width: auto;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }
}

.gallery-item {
  border-radius: calc(var(--radius-sm) + 2px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .gallery-item:hover {
    box-shadow: var(--shadow-card-hover);
  }
}

.gallery-item__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.gallery-item__link:hover {
  color: inherit;
}

.gallery-item__link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.gallery-item__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5/4;
  background: var(--ink);
}

@media (min-width: 900px) {
  .gallery-item__media {
    aspect-ratio: 4/3;
  }
}

/* Unified brand grading: warm tint + subtle depth (always on) */
.gallery-item__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    165deg,
    rgba(255, 250, 244, 0.28) 0%,
    rgba(13, 107, 92, 0.1) 45%,
    rgba(15, 23, 42, 0.14) 100%
  );
  mix-blend-mode: multiply;
  opacity: 0.9;
}

.gallery-item__media img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  filter: brightness(0.98) contrast(1.03) saturate(0.9) sepia(0.07);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.42);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .gallery-item__link:hover .gallery-item__media img,
  .gallery-item__link:focus-visible .gallery-item__media img {
    transform: scale(1.05);
  }

  .gallery-item__link:hover .gallery-item__overlay,
  .gallery-item__link:focus-visible .gallery-item__overlay {
    opacity: 1;
  }
}

.gallery-item figcaption {
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-top: 1px solid var(--line-faint);
}

.gallery-item__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.gallery-item__tag {
  align-self: flex-start;
  display: inline-block;
  padding: 0.28rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 1px solid rgba(13, 107, 92, 0.2);
  border-radius: 999px;
}

/* Services */
.services {
  background: linear-gradient(180deg, var(--bg) 0%, #eef5f3 100%);
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2rem);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.25s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .card:hover {
    box-shadow: var(--shadow-card-hover);
  }
}

.card h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.card p {
  color: var(--muted);
  margin: 0 0 1.1rem;
  flex-grow: 1;
}

.card-list {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 0.95rem;
}

.card-list li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 0.5rem;
  line-height: 1.45;
}

.card-list li:last-child {
  margin-bottom: 0;
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 1.125rem;
  height: 1.125rem;
  background: var(--icon-check) center / contain no-repeat;
}

/* About + stats */
.about-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 3.5rem);
  align-items: start;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.about-copy ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.about-copy li {
  margin-bottom: 0.5rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  max-width: 22rem;
  margin-inline: auto;
}

@media (min-width: 800px) {
  .stats {
    margin-inline: 0;
    max-width: none;
  }
}

.stat {
  aspect-ratio: 1;
  max-width: 11rem;
  width: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem 0.75rem;
  border-radius: 50%;
  border: 1px solid rgba(13, 107, 92, 0.16);
  background:
    radial-gradient(ellipse 95% 85% at 28% 18%, rgba(255, 255, 255, 0.72) 0%, transparent 52%),
    radial-gradient(ellipse 80% 70% at 85% 88%, rgba(13, 107, 92, 0.1) 0%, transparent 45%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.35) 0%, rgba(230, 244, 241, 0.98) 38%, rgba(214, 236, 230, 0.95) 100%);
  box-shadow: var(--stat-shadow);
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 700;
  color: var(--brand-dark);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
  max-width: 9rem;
  margin-top: 0.35rem;
}

/* FAQ */
.faq {
  background: var(--surface);
  border-top: 1px solid var(--line-faint);
  border-bottom: 1px solid var(--line-faint);
}

.faq-intro {
  font-size: 1.08rem;
  color: var(--muted);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line-faint);
}

.faq-item:first-child {
  border-top: 1px solid var(--line-faint);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 1.2rem 0;
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--ink);
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: var(--brand-dark);
}

.faq-trigger::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-trigger[aria-expanded="true"]::after {
  transform: rotate(-135deg);
}

.faq-panel {
  padding: 0 0 1.2rem;
  color: var(--muted);
  display: none;
  line-height: 1.65;
}

.faq-trigger[aria-expanded="true"] + .faq-panel {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #cbd5e1;
  padding: clamp(3rem, 6vw, 4rem) 0 0;
  font-size: 0.95rem;
}

.site-footer a {
  color: #e2e8f0;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 2.5rem;
  }
}

.site-footer h3 {
  font-family: var(--display);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}

.site-footer .footer-col p {
  margin: 0;
  line-height: 1.65;
}

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.25rem);
  padding: 1.35rem 0 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
  font-size: 0.82rem;
  color: #94a3b8;
}

.footer-bottom .footer-copyright {
  margin: 0;
}

.footer-made {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  color: #94a3b8;
  font-size: 0.82rem;
}

.footer-made .icon-heart {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  color: #f472b6;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--brand);
  color: #fff;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Lead capture modal ($25 offer) — matches quote card / site theme */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 450;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  margin: 0;
  border: none;
  background: transparent;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.26s ease,
    visibility 0.26s ease;
}

.lead-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lead-modal__panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  padding: clamp(1.65rem, 4vw, 2.15rem);
  border-radius: var(--radius);
  background: var(--hero-form-bg);
  border: 1px solid rgba(13, 107, 92, 0.14);
  box-shadow: var(--hero-form-shadow), 0 24px 64px -28px rgba(15, 23, 42, 0.18);
  text-align: center;
  isolation: isolate;
}

.lead-modal__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120% 80% at 100% 0%, rgba(255, 255, 255, 0.55) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

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

.lead-modal__eyebrow {
  margin-bottom: 0.5rem;
}

.lead-modal__close {
  position: absolute;
  top: calc(0.5rem - 2px);
  right: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.25rem;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #64748b;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.lead-modal__close:hover {
  color: var(--brand);
}

.lead-modal__close:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.lead-modal__title {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3.2vw, 1.55rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.85rem;
  padding: 0 1.75rem;
  line-height: 1.2;
}

.lead-modal__text {
  margin: 0 0 1.35rem;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.55;
}

.lead-modal__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.lead-modal__input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.98rem;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.lead-modal__input::placeholder {
  color: #94a3b8;
}

.lead-modal__input:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: rgba(13, 107, 92, 0.35);
}

.lead-modal__submit {
  margin-top: 0.35rem;
  width: 100%;
  align-self: stretch;
}

body.lead-modal-open {
  overflow: hidden;
  touch-action: none;
}

@media (prefers-reduced-motion: reduce) {
  .lead-modal {
    transition: opacity 0.15s ease, visibility 0.15s ease;
  }
}
