/* QuickSweep Turnover Cleaning — bold, energetic instant-quote calculator theme */

:root {
  --ink: #0b2b28;
  --panel: #0f3733;
  --teal: #0d9488;
  --teal-dark: #0b7a70;
  --orange: #f97316;
  --paper: #f5faf9;
  --card: #ffffff;
  --line: #dfeae8;
  --muted: #55706c;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Sora', 'Inter', sans-serif; font-weight: 700; line-height: 1.15; margin: 0 0 0.5em; }

a { color: inherit; }
.center { text-align: center; }
.eyebrow { display: block; color: var(--teal); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.82rem; margin-bottom: 0.4rem; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; border-radius: 999px; background: var(--teal); color: #fff;
  text-decoration: none; font-weight: 700; border: none; cursor: pointer; font-size: 1rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.88rem; }
.btn-lg { padding: 1.05rem 2.25rem; font-size: 1.05rem; }

/* ---------- header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
body.is-editable .site-header { top: 44px; }
.header-inner { max-width: 1180px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo-text { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul { list-style: none; display: flex; gap: 1.75rem; margin: 0; padding: 0; }
.main-nav ul a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.main-nav ul a:hover { color: var(--teal); }
.nav-actions { display: flex; align-items: center; gap: 1.25rem; }
.phone-link { display: flex; align-items: center; gap: 0.4rem; color: var(--ink); text-decoration: none; font-weight: 700; }

.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; background: none; border: none; cursor: pointer; padding: 0; }
.hamburger span { display: block; height: 2px; width: 100%; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero + calculator ---------- */
.hero { background: var(--ink); color: #fff; padding: 3.5rem 0 5rem; }
.hero-inner { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: start; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 0.45rem 0.95rem; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; margin-bottom: 1.25rem;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: obtPulse 1.8s infinite; }
@keyframes obtPulse {
  0% { box-shadow: 0 0 0 0 rgba(249,115,22,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(249,115,22,0); }
  100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); }
}
.hero-copy h1 { font-size: 2.5rem; }
.hero-sub { color: rgba(255,255,255,0.68); font-size: 1.05rem; margin-top: 1rem; }

.calculator-card { position: relative; background: #fff; color: var(--ink); border-radius: 16px; padding: 2rem; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5); overflow: hidden; }
.calculator-card::before {
  content: ""; position: absolute; top: 0; left: -30%; width: 30%; height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--teal), transparent);
  animation: obtScan 3.2s linear infinite;
}
@keyframes obtScan { from { left: -30%; } to { left: 100%; } }
.calc-steps-label { display: flex; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.step-pill { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 700; color: var(--muted); }
.step-pill.active { color: var(--teal); }
.step-pill .step-num {
  width: 20px; height: 20px; border-radius: 50%; background: var(--line); color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem;
}
.step-pill.active .step-num { background: var(--teal); color: #fff; }
.progress-track { height: 4px; background: var(--line); border-radius: 2px; margin-bottom: 1.5rem; overflow: hidden; }
.progress-fill { height: 100%; background: var(--orange); width: 55%; transition: width 0.25s ease; }

.calc-step { margin-bottom: 1.75rem; }
.calc-step-title { display: flex; align-items: center; gap: 0.6rem; font-size: 1.05rem; margin-bottom: 1rem; }
.calc-step-title .step-num {
  width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.78rem; font-family: 'Inter', sans-serif;
}
.pill-group { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill-btn {
  padding: 0.55rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  color: var(--ink); font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: all 0.15s ease;
}
.pill-btn.active { background: var(--teal); border-color: var(--teal); color: #fff; animation: obtPillPulse 1.8s ease-out infinite; }
@keyframes obtPillPulse {
  0% { box-shadow: 0 0 0 0 rgba(13,148,136,0.45); }
  70% { box-shadow: 0 0 0 8px rgba(13,148,136,0); }
  100% { box-shadow: 0 0 0 0 rgba(13,148,136,0); }
}
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.check-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; padding: 0.5rem 0.6rem; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.check-item:has(input:checked) { border-color: var(--teal); background: #ecf7f6; }

.estimate-step { text-align: center; padding-top: 0.5rem; border-top: 1px solid var(--line); }
.estimate-display { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; margin: 0.5rem 0 1rem; }
.estimate-amount { display: inline-block; font-size: 2.6rem; font-weight: 800; color: var(--orange); font-family: 'Sora', sans-serif; }
.estimate-amount.bump { animation: obtBump 0.3s ease; }
@keyframes obtBump { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }
.estimate-caption { color: var(--muted); font-size: 0.85rem; }
.estimate-disclaimer { color: var(--muted); font-size: 0.8rem; max-width: 420px; margin: 0 auto 1.25rem; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-visible { animation: obtReveal 0.6s ease forwards; animation-delay: var(--reveal-delay, 0s); }
@keyframes obtReveal { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .calculator-card::before { display: none; }
  .pill-btn.active { animation: none; }
  .estimate-amount.bump { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .pulse-dot { animation: none; }
}

/* ---------- trust strip ---------- */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); padding: 1.75rem 0; }
.trust-inner { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.trust-item { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 0.9rem; color: var(--ink); }

/* ---------- how it works ---------- */
.how-it-works { padding: 5rem 0; }
.section-inner { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section-title { font-size: 2rem; margin-top: 0.3rem; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.step-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; text-align: center; }
.step-circle {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--teal); color: #fff; font-family: 'Sora', sans-serif; font-weight: 700; margin-bottom: 1rem;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---------- gallery ---------- */
.gallery { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 5rem 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.gallery-grid img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius); display: block; }

/* ---------- contact ---------- */
.contact { padding: 5rem 0; }
.contact-inner { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; }
.contact-lead { color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 700; margin-bottom: 0.4rem; font-size: 0.9rem; }
.form-group { margin-bottom: 0; }
input[type=text], input[type=tel], input[type=email], select, textarea {
  width: 100%; padding: 0.7rem 0.85rem; border: 1.5px solid var(--line); border-radius: 8px;
  font-size: 1rem; font-family: inherit; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); }
.form-disclaimer { color: var(--muted); font-size: 0.82rem; }
.contact-info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.contact-info-card h3 { font-size: 1.05rem; }
.contact-info-card p { margin: 0.4rem 0; font-size: 0.95rem; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }

/* ---------- footer ---------- */
.site-footer { background: var(--panel); color: rgba(255,255,255,0.65); padding: 3rem 0 1.5rem; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand .logo-text { color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-contact p { margin: 0 0 0.4rem; }
.footer-bottom { max-width: 1180px; margin: 0 auto; padding: 1.5rem 1.5rem 0; font-size: 0.85rem; text-align: center; }

/* ---------- responsive ---------- */
.nav-close { display: none; }
.nav-backdrop { display: none; }
@media (max-width: 900px) {
  .hero-inner, .contact-inner { grid-template-columns: 1fr; }
  .steps-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .main-nav ul, .nav-actions .phone-link span { display: none; }
  .hamburger { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 320px;
    background: #fff; flex-direction: column; align-items: flex-start; padding: 5rem 2rem 2rem;
    transition: right 0.25s ease; z-index: 70; overflow-y: auto;
  }
  .main-nav.open { right: 0; }
  .main-nav.open ul { display: flex; flex-direction: column; gap: 1.25rem; }
  body.is-editable .main-nav { top: 44px; height: calc(100vh - 44px); }

  .nav-close {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 1.25rem; right: 1.25rem;
    width: 2.25rem; height: 2.25rem; border-radius: 50%;
    background: var(--line); border: none; color: var(--ink);
    font-size: 1.5rem; line-height: 1; cursor: pointer;
  }
  .nav-close:hover { background: #cfe4e1; }

  .nav-backdrop {
    display: block; position: fixed; inset: 0; background: rgba(11,43,40,0.5);
    z-index: 65; opacity: 0; visibility: hidden; transition: opacity 0.25s ease;
  }
  .nav-backdrop.open { opacity: 1; visibility: visible; }
}
@media (max-width: 600px) {
  .hero-copy h1 { font-size: 2rem; }
  .steps-grid, .gallery-grid { grid-template-columns: 1fr; }
  .form-row, .checkbox-grid { grid-template-columns: 1fr; }
  .estimate-amount { font-size: 2rem; }
}
