/* ============================================================
   Your Cleaning Co. — styles
   Retheme by editing the :root custom properties below.
   ============================================================ */

:root {
  /* palette */
  --bg: #ffffff;
  --bg-alt: #f6fbfd;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;

  --primary: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --primary-50: #e0f4fd;

  --accent: #10b981;
  --accent-600: #059669;
  --accent-50: #d1fae5;

  --warn: #f59e0b;

  /* type scale */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;

  /* radius + shadow */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 8px 24px -8px rgba(15, 23, 42, .12), 0 2px 6px rgba(15, 23, 42, .05);
  --shadow-lg: 0 24px 48px -12px rgba(2, 132, 199, .22);

  /* layout */
  --container: 1160px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(4rem, 8vw, 7rem);
}

/* ------------------- reset-ish ------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--primary-600); text-decoration: none; }
a:hover { color: var(--primary-700); }

h1, h2, h3, h4 {
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 .5rem;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: .95rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
p  { margin: 0 0 1rem; color: var(--text-muted); }

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

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

.section       { padding-block: var(--section-y); }
.section-alt   { background: var(--bg-alt); padding-block: var(--section-y); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }
.section-sub { margin-top: .5rem; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary-600);
  margin-bottom: .75rem;
}
.eyebrow-light { color: rgba(255,255,255,.85); }

/* ------------------- buttons ------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; padding-block: 1rem; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.btn-primary:hover { background: var(--primary-600); color: #fff; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-700); }

.btn-white {
  background: #fff;
  color: var(--primary-700);
}
.btn-white:hover { background: var(--primary-50); color: var(--primary-700); }

/* ------------------- header ------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--text);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -.01em;
}
.brand:hover { color: var(--primary-700); }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}

.nav { margin-left: auto; }
.nav-menu {
  list-style: none;
  display: flex;
  gap: .35rem;
  margin: 0; padding: 0;
}
.nav-menu a {
  color: var(--text);
  padding: .55rem .85rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: .95rem;
}
.nav-menu a:hover { background: var(--primary-50); color: var(--primary-700); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: .5rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

.header-cta { display: flex; align-items: center; gap: .75rem; }
.link-phone {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--text); font-weight: 600; font-size: .95rem;
}
.link-phone:hover { color: var(--primary-700); }

/* ------------------- hero ------------------- */
.hero {
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(1000px 500px at 90% -10%, var(--primary-50), transparent 60%),
    radial-gradient(700px 400px at -10% 20%, var(--accent-50), transparent 60%),
    #fff;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy .lead { font-size: 1.15rem; max-width: 52ch; margin-bottom: 1.75rem; }

.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .85rem;
  border-radius: 999px;
  font-size: .85rem; font-weight: 600;
  background: var(--accent-50); color: var(--accent-600);
  margin-bottom: 1.25rem;
}
.badge-accent svg { color: var(--accent-600); }

.hero-cta {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-bottom: 1.75rem;
}
.hero-points {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  list-style: none; padding: 0; margin: 0;
  font-size: .9rem; color: var(--text-muted);
}
.hero-points li { position: relative; padding-left: 1.35rem; }
.hero-points li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--accent-600); font-weight: 800;
}

/* hero visual card */
.hero-visual { position: relative; min-height: 380px; }
.hero-card {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
}
.hero-card-header {
  display: flex; align-items: center; gap: .4rem;
  padding-bottom: .85rem; margin-bottom: .85rem;
  border-bottom: 1px dashed var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-red    { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green  { background: #22c55e; }
.hero-card-title {
  margin-left: auto;
  font-size: .8rem; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .08em;
}
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: .95rem;
}
.checklist li:last-child { border-bottom: 0; }
.check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-50); color: var(--accent-600);
  font-weight: 800; font-size: .75rem;
  flex-shrink: 0;
}
.checklist li.pending { color: var(--text-muted); }
.checklist li.pending .check { background: var(--primary-50); color: var(--primary-600); }

.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: 1;
}
.hero-blob-1 { width: 320px; height: 320px; background: var(--primary); top: -40px; right: -40px; }
.hero-blob-2 { width: 260px; height: 260px; background: var(--accent); bottom: -30px; left: -20px; opacity: .35; }

/* ------------------- trust bar ------------------- */
.trust-bar {
  padding: 1.25rem 0;
  background: #0f172a;
  color: #fff;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.trust-item {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 600; font-size: .95rem;
  justify-content: center;
}
.trust-item svg { color: var(--accent); flex-shrink: 0; }

/* ------------------- services ------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.ribbon {
  position: absolute; top: -12px; right: 14px;
  background: var(--primary); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 999px;
}
.service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--primary-50);
  color: var(--primary-600);
  border-radius: 12px;
  margin-bottom: .9rem;
}
.service-card h3 { margin-bottom: .35rem; }
.service-card p  { font-size: .92rem; margin-bottom: .85rem; }
.feature-list {
  list-style: none; padding: 0; margin: 0 0 1rem;
}
.feature-list li {
  position: relative;
  padding: .35rem 0 .35rem 1.35rem;
  font-size: .9rem; color: var(--text);
  border-bottom: 1px dashed var(--border);
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before {
  content: "✓";
  position: absolute; left: 0; top: .35rem;
  color: var(--accent-600); font-weight: 800;
}
.service-price {
  font-size: .95rem; color: var(--text-muted);
  padding-top: .5rem;
}
.service-price strong { color: var(--text); font-size: 1.05rem; }

/* ------------------- why us ------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}
.why-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  margin-bottom: 1rem;
}
.why-item p { margin-bottom: 0; }

/* ------------------- how it works ------------------- */
.steps {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: none;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  position: relative;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800; font-size: 1.1rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 12px -4px rgba(14, 165, 233, .5);
}
.step p { margin-bottom: 0; }

/* ------------------- discount band ------------------- */
.discount-band {
  background: linear-gradient(135deg, var(--accent), var(--accent-600));
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.discount-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.discount-band h2 { color: #fff; margin-bottom: .35rem; }
.discount-band p  { color: rgba(255,255,255,.9); margin: 0; }

/* ------------------- reviews ------------------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 0;
}
.stars { color: var(--warn); letter-spacing: .1em; font-size: 1rem; margin-bottom: .75rem; }
.review-card blockquote {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.55;
}
.review-card figcaption {
  font-size: .9rem; color: var(--text-muted); font-weight: 600;
}

/* ------------------- quote form ------------------- */
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.quote-copy p { font-size: 1.05rem; }
.alt-contact {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--primary-50);
  border-radius: var(--radius);
}
.alt-contact h3 { font-size: 1rem; margin-bottom: .5rem; }
.alt-contact ul { list-style: none; padding: 0; margin: 0; }
.alt-contact li { padding: .25rem 0; font-size: .95rem; color: var(--text); }

.quote-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1rem; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field label {
  display: block;
  font-size: .85rem; font-weight: 600;
  color: var(--text);
  margin-bottom: .35rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .75rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, .15);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, .12);
}
.form-note {
  margin: .85rem 0 0;
  font-size: .82rem;
  color: var(--text-muted);
  text-align: center;
}

/* ------------------- FAQ ------------------- */
.faq-wrap { max-width: 820px; }
.faq-list { display: grid; gap: .75rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 1.25rem;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 0;
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding-right: 2rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--primary-600);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-body {
  padding: 0 0 1.15rem;
  border-top: 1px solid var(--border);
  padding-top: .9rem;
}
.faq-body p { margin: 0; }

/* ------------------- footer ------------------- */
.site-footer {
  background: #0b1220;
  color: #cbd5e1;
  padding: clamp(3rem, 6vw, 4rem) 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
.brand-footer { color: #fff; }
.brand-footer:hover { color: #fff; }
.brand-footer .brand-mark { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.footer-tag { color: #94a3b8; max-width: 34ch; margin-top: .75rem; }
.site-footer h4 { color: #fff; margin-bottom: .75rem; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { padding: .3rem 0; }
.site-footer a { color: #e2e8f0; }
.site-footer a:hover { color: var(--primary); }
.hours { margin-top: .75rem; color: #94a3b8; font-size: .9rem; }
.socials { list-style: none; padding: 0; margin: 0; display: flex; gap: .5rem; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: #e2e8f0;
}
.socials a:hover { background: var(--primary); color: #fff; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #94a3b8;
  font-size: .85rem;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom p { margin: 0; color: inherit; }
.tiny { font-size: .8rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: unset; margin-top: 1rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); text-align: left; }
  .trust-item { justify-content: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .header-cta .link-phone { display: none; }

  .nav-toggle { display: block; margin-left: auto; }
  .nav {
    position: static;
    margin-left: 0;
  }
  .nav-menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: .5rem var(--gutter) 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .25s ease, opacity .2s ease, padding .25s ease;
    box-shadow: 0 8px 20px rgba(15,23,42,.06);
  }
  .nav.is-open .nav-menu {
    max-height: 400px;
    opacity: 1;
    padding: .5rem var(--gutter) 1.25rem;
  }
  .nav-menu a {
    display: block;
    padding: .8rem .25rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }
  .nav-menu li:last-child a { border-bottom: 0; }

  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .discount-inner { text-align: center; }
  .discount-inner .btn { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
}
