/* ============================================================
   Power Wash 419 — global.css
   Shared across every page: variables, reset, typography,
   nav, footer, trust bar, buttons, forms, utility classes.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@400;500;600&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ── Brand tokens ── */
:root {
  --sky:        #0ea5e9;
  --sky-dark:   #0369a1;
  --sky-light:  #e0f2fe;
  --lime:       #84cc16;
  --lime-light: #f0fdf4;
  --lime-dark:  #3f6212;
  --charcoal:   #1e293b;
  --slate:      #475569;
  --muted:      #94a3b8;
  --surface:    #f8fafc;
  --white:      #ffffff;
  --border:     #e2e8f0;
  --radius:     12px;
  --font-head:  'Bebas Neue', sans-serif;
  --font-body:  'DM Sans', sans-serif;
}

/* ── Base ── */
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.7;
}

/* ── Typography helpers ── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sky-dark);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  color: var(--charcoal);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.section-sub {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.75;
}
.center { text-align: center; }
.center .section-sub { max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── Nav ── */
.site-nav {
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 200;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--white);
  letter-spacing: 1px;
  text-decoration: none;
  white-space: nowrap;
}
.nav-logo span { color: var(--sky); }

/* Desktop nav links */
.nav-center { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 13px;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  text-decoration: none;
  font-family: var(--font-body);
  background: transparent;
  border: none;
}
.nav-dropdown-btn { position: relative; }
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-link svg { width: 12px; height: 12px; transition: transform 0.2s; }
.nav-link.open svg { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 210px;
  z-index: 300;
}
.nav-dropdown.open { display: block; }
.nav-dd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--charcoal);
  text-decoration: none;
  cursor: pointer;
}
.nav-dd-item:hover { background: var(--surface); }
.nav-dd-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); flex-shrink: 0; }

/* Desktop right CTAs */
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--lime);
  color: var(--lime-dark);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  white-space: nowrap;
}
.nav-phone svg { width: 15px; height: 15px; }
.nav-phone:hover { background: #96d82a; }
.nav-quote {
  background: var(--sky);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  white-space: nowrap;
}
.nav-quote:hover { background: var(--sky-dark); }

/* Hamburger button (mobile only) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile slide-down menu */
.mobile-menu {
  background: #0f172a;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  position: sticky;
  top: 60px;
  z-index: 190;
}
.mobile-menu.open { max-height: 520px; }
.mm-section { padding: 14px 1.5rem 6px; }
.mm-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #475569;
  margin-bottom: 8px;
}
.mm-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 2px;
  cursor: pointer;
}
.mm-item:hover { background: rgba(255,255,255,0.05); color: var(--white); }
.mm-item svg { width: 16px; height: 16px; color: var(--sky); flex-shrink: 0; }
.mm-divider { height: 1px; background: #1e293b; margin: 8px 1.5rem; }
.mm-areas { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 1.5rem 16px; }
.mm-area {
  font-size: 12px;
  color: #64748b;
  padding: 4px 12px;
  border: 1px solid #1e293b;
  border-radius: 99px;
  text-decoration: none;
  cursor: pointer;
}
.mm-area:hover { color: var(--sky); border-color: var(--sky); }

/* Sticky bottom bar (mobile only) */
.sticky-bar {
  display: none;
  position: sticky;
  bottom: 0;
  z-index: 200;
  border-top: 2px solid var(--border);
}
.sticky-bar-call {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  gap: 2px;
  background: var(--white);
  border-right: 2px solid var(--border);
  text-decoration: none;
  cursor: pointer;
}
.sticky-bar-call svg { width: 18px; height: 18px; color: var(--sky-dark); }
.sticky-bar-call-label { font-size: 12px; font-weight: 700; color: var(--charcoal); font-family: var(--font-body); }
.sticky-bar-call-sub { font-size: 10px; color: var(--muted); font-family: var(--font-body); }
.sticky-bar-quote {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  gap: 2px;
  background: var(--sky);
  text-decoration: none;
  cursor: pointer;
}
.sticky-bar-quote svg { width: 18px; height: 18px; color: var(--white); }
.sticky-bar-quote-label { font-size: 12px; font-weight: 700; color: var(--white); font-family: var(--font-body); }
.sticky-bar-quote-sub { font-size: 10px; color: rgba(255,255,255,0.75); font-family: var(--font-body); }

/* Body padding so sticky bar doesn't overlap content on mobile */
@media (max-width: 768px) {
  body { padding-bottom: 66px; }
  .sticky-bar { display: flex; }
  .nav-center { display: none; }
  .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  .site-nav { padding: 0 1.25rem; }
}

/* ── Trust bar ── */
.trust-bar {
  background: var(--sky);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding: 14px 2rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
}
.trust-item svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ── Buttons ── */
.btn-primary {
  background: var(--sky);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  text-decoration: none;
}
.btn-primary:hover { background: var(--sky-dark); }
.btn-primary svg { width: 16px; height: 16px; }

.btn-secondary {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: 10px;
  border: 2px solid #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  text-decoration: none;
}
.btn-secondary:hover { border-color: var(--sky); }
.btn-secondary svg { width: 16px; height: 16px; }

.btn-white {
  background: var(--white);
  color: var(--sky-dark);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  text-decoration: none;
}
.btn-white svg { width: 16px; height: 16px; }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  font-family: var(--font-body);
  text-decoration: none;
}
.btn-outline-white:hover { border-color: white; }

/* ── Lead form (shared) ── */
.form-section { background: var(--surface); }
.form-inner {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 640px) { .form-inner { grid-template-columns: 1fr; } }

.form-pitch .section-title { font-size: clamp(26px, 3.5vw, 38px); }
.perks { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.perk { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--slate); }
.perk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex-shrink: 0; }

.form-card {
  background: var(--white);
  border-radius: 16px;
  border: 1.5px solid var(--border);
  padding: 28px 24px;
}
.form-card h3 { font-size: 18px; font-weight: 600; color: var(--charcoal); margin-bottom: 20px; }

.field { margin-bottom: 14px; }
.field-label-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--slate); }
.optional-badge { font-size: 11px; color: var(--muted); font-style: italic; }

.field input,
.field select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  font-size: 15px;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.15s;
}
.field input:focus,
.field select:focus { border-color: var(--sky); }
.field input.field-invalid,
.field select.field-invalid { border-color: #dc2626; }
.field-error { font-size: 12px; color: #dc2626; margin-top: 4px; }
.field input.optional { border-style: dashed; }
.field input.optional:focus { border-style: solid; border-color: var(--sky); }

.submit-btn {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  background: var(--sky);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  margin-top: 4px;
  font-family: var(--font-body);
  transition: background 0.15s;
}
.submit-btn:hover { background: var(--sky-dark); }
.privacy-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }

/* ── Breadcrumb (sits inside hero) ── */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--sky); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb svg { width: 12px; height: 12px; }

/* ── Bottom CTA band ── */
.cta-band {
  background: var(--sky);
  padding: 52px 2rem;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-head);
  font-size: clamp(30px, 5vw, 48px);
  color: var(--white);
  margin-bottom: 8px;
}
.cta-band p { color: rgba(255,255,255,0.85); font-size: 16px; margin-bottom: 28px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
footer {
  background: var(--charcoal);
  color: var(--muted);
  padding: 36px 2rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #334155;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--white);
  text-decoration: none;
}
.footer-logo span { color: var(--sky); }
.footer-tagline { font-size: 13px; margin-top: 8px; color: #475569; max-width: 220px; line-height: 1.6; }

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.footer-col-links { display: flex; flex-direction: column; gap: 7px; }
.footer-col-links a { font-size: 13px; color: #64748b; text-decoration: none; }
.footer-col-links a:hover { color: var(--white); }
.footer-col-links a.active { color: var(--sky); }

.area-links { display: flex; flex-wrap: wrap; gap: 6px; max-width: 320px; }
.area-link { font-size: 12px; color: #64748b; text-decoration: none; }
.area-link:hover { color: var(--white); }
.area-link::after { content: '·'; margin-left: 6px; color: #334155; }
.area-link:last-child::after { content: ''; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 12px; color: #475569; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 12px; color: #475569; text-decoration: none; }
.footer-legal a:hover { color: var(--white); }

/* ── Section spacing ── */
section { padding: 64px 2rem; }

/* ── Service icon shared ── */
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--sky-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-icon svg { width: 22px; height: 22px; color: var(--sky-dark); }

/* ── Before/After slider shared ── */
.ba-section { background: var(--charcoal); }
.ba-section .section-title { color: var(--white); }
.ba-section .section-label { color: var(--sky); }
.ba-section .section-sub { color: var(--muted); }

.ba-tabs { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; justify-content: center; }
.ba-tab {
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid #334155;
  color: var(--muted);
  background: transparent;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.ba-tab.active,
.ba-tab:hover { background: var(--sky); border-color: var(--sky); color: var(--white); }

.ba-slider-wrap {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/9;
  user-select: none;
}
.ba-canvas { width: 100%; height: 100%; display: block; }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  width: 3px;
  background: var(--white);
  left: 50%;
  transform: translateX(-50%);
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-handle-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-handle-circle svg { width: 20px; height: 20px; color: var(--charcoal); }
.ba-label {
  position: absolute;
  bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
}
.ba-label.before { left: 14px; background: rgba(0,0,0,0.55); color: var(--white); }
.ba-label.after { right: 14px; background: var(--sky); color: var(--white); }

/* ── FAQ accordion shared ── */
.faq-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 2px; }
.faq-item { border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-q {
  padding: 16px 18px;
  font-weight: 600;
  font-size: 14px;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  font-family: var(--font-body);
  border: none;
  width: 100%;
  text-align: left;
}
.faq-q svg { width: 16px; height: 16px; color: var(--sky); flex-shrink: 0; transition: transform 0.2s; }
.faq-q.open svg { transform: rotate(180deg); }
.faq-a {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.2s;
  font-size: 14px;
  color: var(--slate);
  line-height: 1.7;
}
.faq-a.open { max-height: 300px; padding: 0 18px 16px; }

/* ── Related service cards ── */
.related-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
  text-decoration: none;
}
.related-card:hover { border-color: var(--sky); transform: translateY(-3px); }
.related-name { font-weight: 600; font-size: 15px; color: var(--charcoal); }
.related-desc { font-size: 13px; color: var(--slate); line-height: 1.5; }
.related-link { font-size: 13px; color: var(--sky); font-weight: 500; margin-top: auto; }

/* ── Why Us cards ── */
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 24px 20px;
}
.why-num { font-family: var(--font-head); font-size: 38px; color: var(--sky); line-height: 1; margin-bottom: 6px; }
.why-title { font-weight: 600; font-size: 15px; color: var(--charcoal); margin-bottom: 6px; }
.why-desc { font-size: 13px; color: var(--slate); line-height: 1.6; }

/* ── Area tags ── */
.area-tag {
  background: var(--sky-light);
  color: var(--sky-dark);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 99px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { padding: 0 1rem; }
  section { padding: 48px 1rem; }
  .trust-bar { gap: 16px; padding: 12px 1rem; }
  .cta-band { padding: 40px 1rem; }
  footer { padding: 28px 1rem; }
}

/* ── Work image (replaces before/after slider) ── */
.work-img-wrap {
  max-width: 700px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
}
.work-img-wrap picture,
.work-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
}
