/* Faith Window Cleaning — production stylesheet
   Mobile-first • clean premium OC local-service aesthetic */

:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #0a6cff;
  --blue-700: #0856cc;
  --blue-800: #0642a0;
  --blue-900: #0b2d6b;
  --sky-soft: #e8f3ff;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --star: #f5a623;
  --success: #059669;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 8px 24px rgba(10, 108, 255, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 50px rgba(10, 108, 255, 0.12), 0 8px 20px rgba(15, 23, 42, 0.06);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1140px;
  --header-h: 72px;
  --sticky-call-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue-800); }
ul { padding-left: 1.15rem; }
button, input, select, textarea { font: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.section { padding: 4.5rem 0; }
.section-sm { padding: 3rem 0; }
.section-alt { background: var(--gray-50); }
.section-blue { background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue-600); margin: 0 0 .6rem;
}
h1, h2, h3, h4 { color: var(--gray-900); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .75rem; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
.lead { font-size: 1.125rem; color: var(--gray-600); max-width: 48ch; }
.muted { color: var(--gray-500); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.text-balance { text-wrap: balance; }
.stack > * + * { margin-top: 1rem; }
.grid-2 { display: grid; gap: 1.5rem; }
.grid-3 { display: grid; gap: 1.25rem; }
.grid-4 { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .85rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .975rem; line-height: 1; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--blue-600); color: var(--white); box-shadow: 0 8px 20px rgba(10,108,255,.28);
}
.btn-primary:hover { background: var(--blue-700); color: var(--white); }
.btn-secondary {
  background: var(--white); color: var(--blue-700); border-color: var(--blue-200);
}
.btn-secondary:hover { border-color: var(--blue-600); color: var(--blue-800); background: var(--blue-50); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: var(--white); border-color: #fff; }
.btn-call { background: var(--success); color: #fff; box-shadow: 0 8px 18px rgba(5,150,105,.25); }
.btn-call:hover { background: #047857; color: #fff; }
.btn-sm { min-height: 40px; padding: .55rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,.9); height: var(--header-h);
}
.header-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo {
  display: flex; align-items: center; gap: .65rem; color: var(--gray-900); font-weight: 800;
  font-size: 1.05rem; letter-spacing: -0.02em; flex-shrink: 0;
}
.logo:hover { color: var(--blue-800); text-decoration: none; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(145deg, var(--blue-500), var(--blue-800));
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .95rem;
  box-shadow: 0 6px 14px rgba(10,108,255,.28);
}
.logo-img { width: auto; height: 48px; border-radius: 8px; }
.logo-text { line-height: 1.15; }
.logo-text small {
  display: block; font-weight: 600; font-size: .68rem; color: var(--gray-500);
  letter-spacing: .02em;
}
.nav { display: none; align-items: center; gap: .15rem; }
.nav a {
  color: var(--gray-700); font-weight: 600; font-size: .92rem;
  padding: .55rem .7rem; border-radius: 999px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue-700); background: var(--blue-50); }
.header-actions { display: flex; align-items: center; gap: .55rem; }
.header-phone {
  display: none; color: var(--blue-700); font-weight: 800; font-size: .95rem; white-space: nowrap;
}
.menu-toggle {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--gray-200);
  background: var(--white); display: grid; place-items: center; cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--gray-800); border-radius: 2px; position: relative;
}
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.mobile-nav {
  display: none; position: fixed; inset: var(--header-h) 0 auto 0; background: #fff;
  border-bottom: 1px solid var(--gray-200); padding: 1rem; z-index: 99;
  box-shadow: var(--shadow);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: .85rem 1rem; border-radius: 12px; color: var(--gray-800); font-weight: 600;
}
.mobile-nav a:hover { background: var(--blue-50); color: var(--blue-700); }
@media (min-width: 960px) {
  .nav { display: flex; }
  .header-phone { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* Hero */
.hero {
  position: relative; min-height: min(92vh, 760px); display: grid; align-items: end;
  color: #fff; overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 28, 70, .35) 0%, rgba(8, 28, 70, .25) 35%, rgba(8, 20, 50, .78) 100%),
    radial-gradient(ellipse at 20% 20%, rgba(10,108,255,.25), transparent 50%);
}
.hero-content {
  position: relative; z-index: 1; padding: 5.5rem 0 4rem;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero .tagline {
  font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 600; color: rgba(255,255,255,.92);
  margin: .5rem 0 1rem; max-width: 36ch;
}
.hero .subline { color: rgba(255,255,255,.82); margin: 0 0 1.4rem; max-width: 42ch; }
.badge-row {
  display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0 0; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px); color: #fff; border-radius: 999px;
  padding: .4rem .8rem; font-size: .85rem; font-weight: 600;
}
.badge-solid {
  background: #fff; color: var(--gray-800); border-color: transparent;
  box-shadow: var(--shadow-sm);
}
.stars { color: var(--star); letter-spacing: .05em; }

/* Cards */
.card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 1.35rem; box-shadow: var(--shadow-sm); height: 100%;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.card-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sky-soft); color: var(--blue-700); margin-bottom: .9rem; font-size: 1.35rem;
}
.card h3 { margin-bottom: .4rem; }
.card p { margin: 0; color: var(--gray-600); font-size: .97rem; }
.card a.more {
  display: inline-flex; margin-top: .9rem; font-weight: 700; font-size: .92rem; color: var(--blue-600);
}
.service-card img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 12px; margin-bottom: 1rem;
}
.feature-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.feature-list li {
  position: relative; padding-left: 1.6rem; margin-bottom: .55rem; color: var(--gray-700);
}
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue-600); font-weight: 800;
}

/* Chips / cities */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip {
  display: inline-flex; align-items: center; padding: .45rem .85rem; border-radius: 999px;
  background: var(--white); border: 1px solid var(--gray-200); color: var(--gray-700);
  font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-sm);
}
a.chip:hover { border-color: var(--blue-400); color: var(--blue-700); background: var(--blue-50); }

/* Process */
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative; background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 1.5rem 1.35rem 1.35rem; box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step; content: counter(step);
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-600); color: #fff; font-weight: 800; margin-bottom: .85rem;
}

/* Reviews */
.review-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow-sm); height: 100%;
}
.review-card .quote { color: var(--gray-700); font-size: 1rem; margin: .75rem 0 1rem; }
.reviewer { font-weight: 700; color: var(--gray-900); }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr);
  gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem;
  -webkit-overflow-scrolling: touch;
}
.carousel > * { scroll-snap-align: start; }

/* FAQ */
.faq-list { display: grid; gap: .75rem; max-width: 820px; margin-inline: auto; }
.faq-item {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.05rem 1.2rem; font-weight: 700; color: var(--gray-900);
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.35rem; color: var(--blue-600); font-weight: 500; line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .answer {
  padding: 0 1.2rem 1.15rem; color: var(--gray-600); border-top: 1px solid var(--gray-100);
  padding-top: .9rem;
}

/* Forms */
.form-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 1.5rem; box-shadow: var(--shadow);
}
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
}
.field label {
  display: block; font-weight: 700; font-size: .9rem; color: var(--gray-800); margin-bottom: .35rem;
}
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--gray-300); border-radius: 12px;
  padding: .8rem .95rem; background: #fff; color: var(--gray-900);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(10,108,255,.15);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .88rem; color: var(--gray-500); margin-top: .75rem; }
.form-success {
  display: none; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46;
  border-radius: 12px; padding: 1rem; margin-bottom: 1rem; font-weight: 600;
}
.form-success.show { display: block; }

/* Page hero (inner) */
.page-hero {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700) 55%, var(--blue-600));
  color: #fff; padding: 3.25rem 0 2.75rem; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%); border-radius: 50%;
}
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255,255,255,.88); }
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
  font-size: .88rem; color: rgba(255,255,255,.75); margin-bottom: .9rem;
}
.breadcrumb a { color: #fff; font-weight: 600; }
.breadcrumb span { opacity: .7; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  color: #fff; border-radius: var(--radius-lg); padding: 2.25rem 1.75rem;
  display: grid; gap: 1.25rem; align-items: center; box-shadow: var(--shadow-lg);
}
@media (min-width: 800px) {
  .cta-band { grid-template-columns: 1.4fr auto; padding: 2.5rem; }
}
.cta-band h2, .cta-band p { color: #fff; margin: 0; }
.cta-band p { opacity: .9; margin-top: .5rem; }

/* Footer */
.site-footer {
  background: var(--gray-900); color: #cbd5e1; padding: 3.5rem 0 6.5rem;
}
@media (min-width: 768px) { .site-footer { padding-bottom: 3rem; } }
.footer-grid {
  display: grid; gap: 2rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .85rem; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer-brand .logo { color: #fff; margin-bottom: .75rem; }
.footer-brand .logo small { color: #94a3b8; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-cities { font-size: .88rem; line-height: 1.7; color: #94a3b8; }
.footer-nap { display: grid; gap: .45rem; font-size: .95rem; }
.footer-nap strong { color: #fff; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(148,163,184,.2);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  font-size: .88rem; color: #94a3b8;
}
.trust-row {
  display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0 0;
}
.trust-pill {
  display: inline-flex; align-items: center; gap: .35rem; background: var(--blue-50);
  color: var(--blue-800); border: 1px solid var(--blue-100); border-radius: 999px;
  padding: .45rem .85rem; font-weight: 700; font-size: .88rem;
}

/* Sticky mobile call bar */
.sticky-call {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  display: flex; gap: .5rem; padding: .65rem .85rem calc(.65rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--gray-200);
  box-shadow: 0 -8px 24px rgba(15,23,42,.08); backdrop-filter: blur(10px);
}
.sticky-call .btn { flex: 1; }
@media (min-width: 768px) { .sticky-call { display: none; } }
body { padding-bottom: var(--sticky-call-h); }
@media (min-width: 768px) { body { padding-bottom: 0; } }

/* Split layout */
.split {
  display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr .95fr; gap: 3rem; }
  .split.reverse > :first-child { order: 2; }
}
.media-frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200); background: var(--gray-100);
  aspect-ratio: 4/3;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot {
  aspect-ratio: 4/3; border-radius: var(--radius); border: 2px dashed var(--gray-300);
  background: var(--gray-50); display: grid; place-items: center; text-align: center;
  padding: 1.25rem; color: var(--gray-500); font-size: .9rem;
}
.photo-slot strong { display: block; color: var(--gray-700); margin-bottom: .35rem; }
.gallery-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.map-placeholder {
  min-height: 280px; border-radius: var(--radius); border: 1px solid var(--gray-200);
  background:
    linear-gradient(135deg, rgba(10,108,255,.08), rgba(10,108,255,.02)),
    var(--gray-100);
  display: grid; place-items: center; text-align: center; padding: 1.5rem; color: var(--gray-600);
}

/* 404 */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 4rem 1rem; }

/* Utilities */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.prose p { color: var(--gray-600); }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
table.simple {
  width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--gray-200);
}
table.simple th, table.simple td {
  text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--gray-200); font-size: .95rem;
}
table.simple th { background: var(--blue-50); color: var(--gray-900); font-weight: 700; }
table.simple tr:last-child td { border-bottom: 0; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
