/* ============================================
   Crystal Clear Cleaning Co. — Site Styles
   Modern Theme: Slate / Blue
   Fonts: Outfit (headings), Inter (body)
   ============================================ */

:root {
  /* Shared feature variables */
  --pp-primary: #1e293b;
  --pp-primary-dark: #0f172a;
  --pp-accent: #3b82f6;
  --pp-accent-light: #60a5fa;
  --pp-bg: #f8fafc;
  --pp-text: #1e293b;
  --pp-muted: #64748b;
  --pp-white: #fff;
  --pp-radius: 12px;
  --pp-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --pp-font-heading: 'Outfit', sans-serif;
  --pp-font-body: 'Inter', sans-serif;
  /* Original variables (kept for backward compat) */
  --slate: #1e293b;
  --slate-dark: #0f172a;
  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --light: #f8fafc;
  --text: #1e293b;
  --muted: #64748b;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
}
h1, h2, h3 { font-family: 'Outfit', sans-serif; letter-spacing: -.01em; margin-top: 0; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
section { padding: 64px 0; }

/* DEMO BANNER */
.demo-banner {
  background: #0B1F3A;
  color: #00C2B2;
  text-align: center;
  padding: 10px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.5px;
  position: sticky;
  top: 0;
  z-index: 9999;
}
.demo-banner a { color: #F5A623; font-weight: bold; text-decoration: none; }

.topbar {
  background: var(--slate-dark);
  color: #cbd5e1;
  font-size: .88rem;
  padding: 8px 0;
}
.topbar-wrap {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.topbar a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar a svg { flex-shrink: 0; }

.site-header {
  position: sticky;
  top: 44px;
  z-index: 900;
  background: rgba(30, 41, 59, 0.97);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}
.logo {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
}
.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--blue);
  display: grid;
  place-items: center;
}
.logo-icon svg { display: block; }
.nav-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.nav-links a { color: #94a3b8; text-decoration: none; font-weight: 600; font-size: .92rem; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: background .2s ease, transform .2s ease;
}
.nav-cta:hover { background: var(--blue-light) !important; transform: translateY(-1px); }

/* HERO — taller, more whitespace */
.hero {
  position: relative;
  color: #fff;
  padding: 0;
  overflow: hidden;
  min-height: 560px;
  display: grid;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,.92) 40%, rgba(30,41,59,.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 72px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 12px;
  max-width: 18ch;
  line-height: 1.1;
}
.hero p { margin-top: 0; color: #94a3b8; font-size: 1.1rem; max-width: 48ch; }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 6px;
  padding: 13px 22px;
  font-weight: 700;
  font-size: .95rem;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.10); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-light); }
.btn-secondary { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(4px); }
.btn-secondary:hover { background: rgba(255,255,255,.18); }

/* TRUST CHECKLIST — checkmark style in hero */
.trust-checklist {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.trust-check-item {
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  letter-spacing: .02em;
}

/* Legacy trust-strip (keep for compat) */
.trust-strip {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}
.trust-item svg { color: #60a5fa; flex-shrink: 0; }

/* SERVICES — 2-column layout */
.section-label {
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
  display: block;
}
.services-section {
  background: var(--light);
  border-top: 3px solid var(--blue);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* SERVICE CARDS — photo-backed */
.card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background-size: cover;
  background-position: center;
  border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: transform .3s, box-shadow .3s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.2) 60%, rgba(0,0,0,.1) 100%);
  z-index: 1;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.14); }
.card > * { position: relative; z-index: 2; }
.card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.card p { color: rgba(255,255,255,.85); font-size: .88rem; margin: 0; }
.card .service-icon { display: none; }
.card .card-link { color: var(--blue-light); }

.card-link { color: var(--blue); font-weight: 700; text-decoration: none; font-size: .88rem; display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; }
.card-link:hover { text-decoration: underline; }

/* POPULAR BADGE */
.popular-badge {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.card-popular {
  border: 2px solid var(--blue);
}

/* HOW IT WORKS — horizontal steps */
.how-it-works {
  background: #fff;
  padding: 64px 0;
}
.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 32px;
}
.step {
  text-align: center;
  flex: 1;
  max-width: 260px;
  padding: 0 16px;
}
.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
}
.step h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.step p {
  color: var(--muted);
  font-size: .9rem;
  margin: 0;
}
.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  margin-top: 26px;
  flex-shrink: 0;
}

/* PRICING PREVIEW */
.pricing-preview {
  background: var(--light);
  padding: 64px 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.pricing-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  position: relative;
  transition: transform .2s;
}
.pricing-card:hover {
  transform: translateY(-3px);
}
.pricing-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--slate);
}
.pricing-price {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.pricing-note {
  display: block;
  font-size: .8rem;
  color: var(--muted);
  margin-top: 4px;
  margin-bottom: 16px;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  text-align: left;
}
.pricing-features li {
  padding: 6px 0;
  font-size: .88rem;
  color: var(--muted);
  border-bottom: 1px solid #f1f5f9;
  position: relative;
  padding-left: 20px;
}
.pricing-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}
.pricing-features li:last-child {
  border-bottom: none;
}
.pricing-card-featured {
  border: 2px solid var(--blue);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.12);
}
.pricing-card-featured .popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
}

/* PHOTO + TEXT SPLIT */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split-img {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
}

/* WHY CHOOSE US */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.why-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: transform .2s ease;
}
.why-card:hover { transform: translateY(-3px); }
.why-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: var(--blue);
}
.why-card h3 { font-size: .95rem; margin-bottom: 4px; }
.why-card p { color: var(--muted); font-size: .9rem; margin: 0; }

/* STATS BAR */
.stats-bar {
  background: var(--slate-dark);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-number {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* REVIEWS — pull-quote featured + supporting grid */
.reviews-section {
  background: var(--light);
  position: relative;
}
.pull-quote {
  background: #fff;
  border-radius: 16px;
  padding: 36px 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  border: 1px solid #e2e8f0;
  position: relative;
  margin-bottom: 20px;
}
.pull-quote::before {
  content: "\201C";
  position: absolute;
  top: 16px;
  left: 28px;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--blue);
  opacity: .15;
}
.pull-quote blockquote {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
  margin: 8px 0 12px;
  padding: 0;
  border: none;
}
.pull-quote h3 {
  font-size: .85rem;
  margin-bottom: 0;
  color: var(--muted);
}
.reviews-supporting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.review-card {
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  border: 1px solid #e2e8f0;
  position: relative;
}
.review-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 4px;
  border-radius: 2px;
  background: var(--blue);
}
.stars { color: #f59e0b; letter-spacing: 2px; font-size: 1rem; }
.review-card h3 { font-size: .85rem; margin-bottom: 8px; color: var(--muted); }

/* DARK PHOTO CTA SECTION */
.dark-photo-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 0;
}
.dark-photo-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .85);
}
.dark-photo-section > * { position: relative; z-index: 1; }

/* SERVICE AREA */
.area-img {
  border-radius: 14px;
  overflow: hidden;
  height: 280px;
}
.area-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.area-tag {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--slate);
}

/* FAQ */
.faq-section {
  background: #f1f5f9;
}

/* FORM */
.form-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 30px;
  align-items: start;
}
form {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  border: 1px solid #e2e8f0;
  display: grid;
  gap: 14px;
}
label { font-weight: 700; font-size: .88rem; }
input, select, textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font: inherit;
  font-size: .92rem;
  transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); }
textarea { min-height: 100px; resize: vertical; }
.form-info h2 { margin-bottom: 12px; }
.form-info p { color: var(--muted); }
.form-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
}
.form-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--slate);
}
.form-contact-item strong { display: block; font-size: .85rem; }
.form-contact-item span, .form-contact-item a { font-size: .88rem; color: var(--muted); text-decoration: none; }

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--slate), #334155);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; }
.cta-banner p { color: #94a3b8; margin-bottom: 20px; }

/* TRUST BAR */
.trust-bar-section {
  background: #fff !important;
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 32px 0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr .8fr;
  gap: 24px;
}
.footer-grid h4 { color: #fff; font-family: 'Outfit', sans-serif; font-size: .85rem; margin: 0 0 10px; }
.footer-grid a { color: #64748b; text-decoration: none; display: block; font-size: .88rem; margin-bottom: 4px; }
.footer-grid a:hover { color: #fff; }
.footer-grid span { color: #64748b; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 20px;
  padding-top: 16px;
  font-size: .82rem;
  color: #475569;
}

@media (max-width: 860px) {
  .site-header { top: 40px; }
  .nav-links { display: none; }
  section { padding: 48px 0; }
  .split, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero { min-height: 460px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .dark-photo-section { background-attachment: scroll; }
  .grid-2col { grid-template-columns: 1fr; }
  .steps-row { flex-direction: column; align-items: center; }
  .step-connector { width: 2px; height: 40px; background: linear-gradient(180deg, var(--blue), var(--blue-light)); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .reviews-supporting-grid { grid-template-columns: 1fr; }
  .pull-quote { padding: 28px 24px; }
  .pull-quote blockquote { font-size: 1.05rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-number { font-size: 1.8rem; }
  .trust-checklist { gap: 12px; }
}
