/* =====================================================
   Wilmington Window Cleaning Co. — style.css
   ===================================================== */

:root {
  --primary:   #1a3f6f;   /* deep navy blue */
  --accent:    #f39c12;   /* amber orange */

  /* Leave these alone */
  --primary-dark: color-mix(in srgb, var(--primary) 80%, #000);
  --accent-hover: color-mix(in srgb, var(--accent) 85%, #000);
  --text:      #1a1a1a;
  --text-muted:#666;
  --bg:        #ffffff;
  --bg-light:  #f5f7fa;
  --border:    #e2e6ea;
  --radius:    8px;
  --shadow:    0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --max-w:     1100px;
  --font:      -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────── */
h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { margin-bottom: 1rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }
em { font-style: normal; color: var(--accent); }

/* ── Layout ─────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.section    { padding: 4rem 0; }
.section-alt { background: var(--bg-light); }
.section-dark { background: var(--primary); }
.section-dark h2, .section-dark p { color: #fff; }
.section-header { margin-bottom: 2.5rem; }
.section-header.text-center { text-align: center; }
.section-header h2 { color: var(--primary); margin-bottom: 0.5rem; }
.lead { font-size: 1.05rem; color: var(--text-muted); }
.text-center { text-align: center; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1.5rem; border-radius: var(--radius);
  font-weight: 700; font-size: 0.95rem; cursor: pointer;
  border: 2px solid transparent; transition: all 0.18s ease;
  white-space: nowrap;
}
.btn-lg { padding: 0.9rem 2rem; font-size: 1.05rem; }
.btn-primary {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-outline {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-phone { background: #fff; color: var(--primary); border-color: #fff; }
.btn-phone:hover { background: #f0f0f0; }

/* ── Header / Nav ─────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.nav-inner {
  display: flex; align-items: center; gap: 1.5rem;
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 1.25rem; height: 64px;
}
.nav-logo {
  font-weight: 800; font-size: 1.15rem; color: #fff;
  white-space: nowrap; flex-shrink: 0;
}
.nav-links { display: flex; gap: 1.25rem; margin-left: auto; }
.nav-links a {
  color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 600;
  transition: color 0.15s;
}
.nav-links a:hover { color: #fff; }
.nav-phone { margin-left: 1rem; flex-shrink: 0; }
.phone-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--accent); color: #fff;
  padding: 0.45rem 1rem; border-radius: var(--radius);
  font-weight: 700; font-size: 0.9rem;
  transition: background 0.15s;
}
.phone-cta svg { width: 16px; height: 16px; }
.phone-cta:hover { background: var(--accent-hover); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }
.mobile-nav {
  display: none; flex-direction: column; gap: 0;
  background: var(--primary-dark);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 0.85rem 1.25rem; color: rgba(255,255,255,0.85);
  font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav .phone-cta { margin: 0.75rem 1.25rem 1rem; display: inline-flex; }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0d2744 100%);
  padding: 4rem 0 3.5rem;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 420px; gap: 3rem; align-items: start;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9);
  padding: 0.35rem 0.9rem; border-radius: 20px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 1.1rem;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero-sub { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 1.5rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.badge {
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9);
  padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.82rem; font-weight: 600;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-form-card {
  background: #fff; border-radius: 12px;
  padding: 1.75rem; box-shadow: var(--shadow-lg);
}
.hero-form-card h3 { color: var(--primary); font-size: 1.25rem; margin-bottom: 0.3rem; }
.hero-form-card .sub { font-size: 0.88rem; margin-bottom: 1.25rem; }

/* ── Forms ─────────────────────────────────────────────── */
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 700;
  color: var(--text); margin-bottom: 0.3rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 0.95rem; font-family: var(--font);
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { min-height: 90px; resize: vertical; }
.form-submit { width: 100%; justify-content: center; margin-top: 0.25rem; }
.form-note { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 0.6rem; }
.form-success { display: none; background: #e8f8ee; color: #1a7a3d; border-radius: var(--radius); padding: 0.75rem 1rem; font-weight: 600; margin-top: 0.75rem; text-align: center; }

/* ── Trust Bar ─────────────────────────────────────────── */
.trust-bar { background: var(--accent); padding: 0.75rem 0; }
.trust-bar-inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem 2rem; }
.trust-item { color: #fff; font-weight: 700; font-size: 0.9rem; }

/* ── Service Cards ─────────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem;
}
.service-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 12px; padding: 1.75rem;
  box-shadow: var(--shadow); transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.service-card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.service-card h3 { color: var(--primary); margin-bottom: 0.5rem; }
.learn-more { color: var(--accent); font-weight: 700; font-size: 0.9rem; display: inline-block; margin-top: 0.75rem; }
.learn-more:hover { text-decoration: underline; }

/* ── Process Steps ─────────────────────────────────────── */
.process-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem;
}
.step { text-align: center; }
.step-num {
  width: 52px; height: 52px; background: var(--accent);
  color: #fff; font-size: 1.5rem; font-weight: 900;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step h3 { color: var(--primary); margin-bottom: 0.5rem; }

/* ── Why Grid ─────────────────────────────────────────── */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem;
}
.why-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px; padding: 1.5rem; text-align: center;
}
.why-card .icon { font-size: 2rem; margin-bottom: 0.75rem; }
.why-card h3 { color: #fff; margin-bottom: 0.5rem; }
.why-card p { color: rgba(255,255,255,0.75); }

/* ── Testimonials ─────────────────────────────────────── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem;
}
.testimonial-card {
  background: var(--bg-light); border: 1.5px solid var(--border);
  border-radius: 12px; padding: 1.75rem;
}
.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 0.75rem; }
.testimonial-card blockquote { font-style: italic; color: var(--text); margin-bottom: 0.75rem; line-height: 1.65; }
.reviewer { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); }

/* ── Areas Grid ─────────────────────────────────────────── */
.areas-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.area-chip {
  background: #fff; border: 1.5px solid var(--border);
  padding: 0.4rem 1rem; border-radius: 20px;
  font-size: 0.88rem; font-weight: 600; color: var(--primary);
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  margin-bottom: 0.75rem; overflow: hidden;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.25rem; cursor: pointer;
  font-weight: 700; color: var(--primary);
  background: #fff; user-select: none;
}
.faq-q:hover { background: var(--bg-light); }
.toggle { font-size: 1.3rem; color: var(--accent); flex-shrink: 0; margin-left: 1rem; }
.faq-a {
  display: none; padding: 0 1.25rem 1rem;
  color: var(--text-muted); line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }
.faq-item.open .toggle { transform: rotate(45deg); }

/* ── CTA Banner ─────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #d68910 100%);
  padding: 3.5rem 0; text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 0.6rem; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 1.75rem; }
.cta-btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Page Hero (inner pages) ──────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0d2744 100%);
  padding: 3rem 0 2.5rem;
}
.page-hero h1 { color: #fff; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; }
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: #fff; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: #0d1f3c; padding: 3rem 0 1.5rem; }
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem; margin-bottom: 2rem;
}
.footer-col h4 { color: #fff; font-size: 0.9rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col p, .footer-col a { color: rgba(255,255,255,0.6); font-size: 0.88rem; line-height: 1.8; }
.footer-col a:hover { color: rgba(255,255,255,0.9); }
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-nap p { color: rgba(255,255,255,0.7); line-height: 2; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.25rem;
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .nav-links, .nav-phone { display: none; }
  .hamburger { display: flex; }
  .footer-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .cta-btn-group { flex-direction: column; align-items: center; }
  .hero-form-card { padding: 1.25rem; }
}
