/* Sparkle Home Cleaning — teal / white, mobile-first */
:root {
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --ink: #134e4a;
  --muted: #5b7a76;
  --bg: #ffffff;
  --bg-alt: #f0fdfa;
  --border: #d5ebe7;
  --shadow: 0 8px 30px rgba(15, 118, 110, 0.12);
  --radius: 14px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-h: 64px;
  --focus: 0 0 0 3px rgba(20, 184, 166, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-700); }
a:hover { color: var(--teal-800); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }

.container { width: min(1100px, 100% - 2rem); margin-inline: auto; }
.narrow { width: min(720px, 100% - 2rem); }

.demo-badge {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: #134e4a;
  color: #ecfdf5;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.75rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 1.6rem;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--teal-800);
  font-weight: 600;
}
.brand-mark { color: var(--teal-500); }
.brand-text strong { font-weight: 800; }
.nav-desktop { display: none; align-items: center; gap: 1.25rem; }
.nav-desktop a { text-decoration: none; color: var(--ink); font-size: 0.95rem; font-weight: 500; }
.nav-desktop a:hover { color: var(--teal-600); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin-inline: auto;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1rem 1.25rem;
  border-top: 1px solid var(--border);
  background: #fff;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 0.75rem 0.5rem;
  border-radius: 8px;
}
.nav-mobile a:hover { background: var(--teal-50); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:active { transform: scale(0.98); }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; }
.btn-lg { padding: 0.85rem 1.35rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--teal-600); color: #fff; }
.btn-primary:hover { background: var(--teal-700); color: #fff; }
.btn-outline { background: transparent; border-color: var(--teal-500); color: var(--teal-800); }
.btn-outline:hover { background: var(--teal-50); color: var(--teal-800); }
.btn-call {
  background: var(--teal-50);
  color: var(--teal-800);
  border-color: var(--teal-200);
}
.btn-call:hover { background: var(--teal-100); color: var(--teal-800); }

/* Hero */
.hero {
  padding: 2.5rem 0 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, #ccfbf1 0%, transparent 55%),
    linear-gradient(180deg, #f0fdfa 0%, #fff 100%);
}
.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-600);
  margin: 0 0 0.5rem;
}
.hero h1 {
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 1.5rem; max-width: 36rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}
.hero-trust li::before {
  content: "✓";
  color: var(--teal-600);
  font-weight: 800;
  margin-right: 0.4rem;
}
.hero-card-inner {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.hero-card-caption {
  margin: 0.75rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 36rem; margin: 0 auto 2.5rem; }
.section-head h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
.section-head p:last-child { color: var(--muted); margin: 0; }
.section h2 { color: var(--ink); }

.cards-4, .cards-3 {
  display: grid;
  gap: 1.25rem;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.04);
}
.card h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--teal-700);
  background: var(--teal-100);
}

.area-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.area-grid h2 { margin: 0 0 0.75rem; font-size: clamp(1.4rem, 3vw, 1.85rem); }
.area-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}
.area-list li {
  padding: 0.65rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 600;
}
.area-list li::before {
  content: "📍 ";
}
.area-map {
  background: #fff;
  border-radius: var(--radius);
  padding: 0.75rem;
  border: 1px solid var(--border);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: none;
}
.steps li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-600);
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.steps h3 { margin: 0 0 0.4rem; }
.steps p { margin: 0; color: var(--muted); }

.quote-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.stars { color: #d97706; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.quote-card p { margin: 0 0 1rem; font-size: 1rem; }
.quote-card footer { color: var(--muted); font-size: 0.9rem; font-weight: 600; }

.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 0.65rem;
  padding: 0.25rem 1rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  padding: 0.9rem 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--teal-600);
  font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin: 0 0 1rem;
  color: var(--muted);
  padding-right: 1.5rem;
}

.section-cta {
  background: linear-gradient(160deg, var(--teal-700), var(--teal-600));
  color: #ecfdf5;
}
.section-cta .eyebrow { color: var(--teal-200); }
.section-cta h2 { color: #fff; margin: 0 0 0.75rem; }
.section-cta p { color: #ccfbf1; }
.quote-phone a { color: #fff; font-weight: 700; font-size: 1.15rem; }
.quote-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
.quote-form {
  background: #fff;
  color: var(--ink);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 1rem; }
.form-row label {
  display: block;
  font-weight: 650;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.form-row input:focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible {
  border-color: var(--teal-500);
  box-shadow: var(--focus);
}
.form-note { font-size: 0.8rem; color: var(--muted); margin: 0.75rem 0 0; }
.form-success {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: 10px;
  color: var(--teal-800);
}
.form-success[hidden] { display: none; }
.quote-form.is-success .btn[type="submit"],
.quote-form.is-success .form-row,
.quote-form.is-success .form-note { display: none; }

.site-footer {
  background: #0f3d3a;
  color: #a7d4cf;
  padding: 3rem 0 0;
}
.footer-brand { color: #fff; font-weight: 800; font-size: 1.15rem; margin: 0 0 0.5rem; }
.footer-tag { margin: 0; font-size: 0.95rem; }
.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
}
.site-footer h3 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
}
.site-footer p { margin: 0 0 0.35rem; }
.site-footer a { color: #99f6e4; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 0 1.5rem;
  font-size: 0.85rem;
}

.fab-call {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal-600);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
  z-index: 900;
  text-decoration: none;
}
.fab-call:hover { background: var(--teal-700); color: #fff; }

@media (min-width: 640px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
  .area-grid { grid-template-columns: 1fr 1fr; }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .quote-grid { grid-template-columns: 1fr 1.1fr; }
  .fab-call { display: none; }
  .btn-call { display: inline-flex; }
}

@media (max-width: 899px) {
  .header-actions .btn-call { display: none; }
}
