/* ==========================================================================
   Power Washer Pros — sitewide styles
   Palette & type from the approved design mockup:
   cream #F8F4EA · navy #16283A · cerulean #0C6E9A · tan #EFE7D6 · footer #0F1E2C
   Headings: Source Serif 4 · Body: Work Sans
   ========================================================================== */

:root {
  --cream: #F8F4EA;
  --tan: #EFE7D6;
  --tan-2: #E3D9C3;
  --card: #FDFBF5;
  --border: #DED4BC;
  --navy: #16283A;
  --navy-deep: #0F1E2C;
  --navy-line: #1F3346;
  --accent: #0C6E9A;
  --accent-dark: #095577;
  --accent-light: #8CC5DE;
  --ink: #1B2A33;
  --body-c: #3E4A55;
  --muted: #5C6B78;
  --on-dark: #C6D1DB;
  --on-dark-soft: #8FA0AC;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.15; text-wrap: pretty; margin: 0 0 0.5em; }
h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 600; }
h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 600; }
h3 { font-size: clamp(19px, 2vw, 22px); font-weight: 600; }
p { color: var(--body-c); margin: 0 0 1em; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; border-radius: 14px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: clamp(20px, 5vw, 64px); }
.section { padding-block: clamp(52px, 7vw, 96px); }
.section--tan { background: var(--tan); }
.section--dark { background: var(--navy); }
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section--dark p, .section--dark li { color: var(--on-dark); }
.section--accent { background: var(--accent); }

/* Accessibility */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: var(--cream); padding: 12px 18px; border-radius: 0 0 8px 0;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.section--dark :focus-visible, .section--accent :focus-visible, .site-footer :focus-visible { outline-color: var(--accent-light); }

/* Eyebrow label */
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.section--dark .eyebrow, .eyebrow--light { color: var(--accent-light); }
.section--dark .eyebrow::before, .eyebrow--light::before { background: var(--accent-light); }

/* Buttons */
.btn {
  display: inline-block; padding: 15px 26px; border-radius: 8px; border: 1.5px solid transparent;
  font-family: var(--sans); font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  text-align: center; transition: background-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--accent); color: #FDFBF6; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--cream); }
.btn--navy { background: var(--navy); color: var(--cream); }
.btn--navy:hover { background: var(--navy-deep); }
.btn--light { background: var(--cream); color: var(--navy); }
.btn--light:hover { background: #fff; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================ Header ============================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 244, 234, 0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 13px clamp(16px, 4vw, 48px); max-width: 1360px; margin: 0 auto;
}
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--navy); letter-spacing: -0.01em; }
.brand-tag { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a, .dd > summary {
  color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 9px 12px; border-radius: 8px; white-space: nowrap;
}
.site-nav > a:hover, .dd > summary:hover { background: var(--tan); }
.site-nav > a[aria-current="page"] { color: var(--accent); font-weight: 600; }

.dd { position: relative; }
.dd > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.dd > summary::-webkit-details-marker { display: none; }
.dd > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.dd[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.dd-menu {
  display: flex; flex-direction: column; min-width: 250px; padding: 8px;
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(22, 40, 58, 0.12);
}
.dd-menu a { color: var(--ink); text-decoration: none; font-size: 14.5px; padding: 9px 12px; border-radius: 8px; }
.dd-menu a:hover { background: var(--tan); color: var(--navy); }
.dd-menu .dd-all { font-weight: 600; color: var(--accent); border-bottom: 1px solid var(--border); border-radius: 8px 8px 0 0; margin-bottom: 4px; }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone { color: var(--navy); text-decoration: none; font-weight: 700; font-size: 16px; white-space: nowrap; }
.header-phone:hover { color: var(--accent); }
.header-cta .btn { padding: 11px 20px; font-size: 15px; border-radius: 100px; }

.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--navy); border-radius: 8px;
  padding: 9px 11px; cursor: pointer; color: var(--navy);
}
.nav-toggle-bars { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

/* Desktop dropdown positioning */
@media (min-width: 981px) {
  .dd-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; }
}

/* Mobile nav */
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--cream); border-bottom: 1px solid var(--border);
    padding: 10px clamp(16px, 4vw, 48px) 18px; box-shadow: 0 16px 32px rgba(22,40,58,.12);
    max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .site-nav.open { display: flex; }
  .dd-menu { border: none; box-shadow: none; background: transparent; padding: 0 0 0 16px; }
  .header-phone { display: none; }
  .header-cta .btn { padding: 10px 16px; font-size: 14px; }
}

/* ============================ Hero ============================ */
.hero { display: flex; align-items: center; gap: clamp(32px, 5vw, 64px); flex-wrap: wrap; }
.hero-copy { flex: 1 1 460px; min-width: 300px; }
.hero-media { flex: 1 1 420px; min-width: 290px; }
.hero-sub { font-size: 18px; max-width: 540px; }
.hero-badges { display: flex; gap: 12px 26px; flex-wrap: wrap; margin-top: 32px; padding: 0; list-style: none; }
.hero-badges li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--body-c); font-weight: 500; }
.hero-badges li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

/* ============================ Photo placeholders ============================ */
/* TODO-PHOTOS: each .ph block is a labeled placeholder. To use a real photo, replace
   the whole <div class="ph">…</div> with:
   <img src="../images/your-photo.jpg" alt="(use the text from the aria-label)" width="800" height="600" loading="lazy">  */
.ph {
  border: 1px solid var(--border); border-radius: 14px; position: relative;
  background: repeating-linear-gradient(135deg, var(--tan), var(--tan) 10px, var(--tan-2) 10px, var(--tan-2) 20px);
  display: flex; align-items: flex-end; padding: 16px; min-height: 180px;
}
.ph--43 { aspect-ratio: 4 / 3; }
.ph--34 { aspect-ratio: 3 / 4; }
.ph--169 { aspect-ratio: 16 / 10; min-height: 0; }
.ph--sq { aspect-ratio: 1 / 1; }
.ph--wide { aspect-ratio: 21 / 9; }
.ph-label { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12px; color: #6b6355; letter-spacing: 0.02em; }
.ph-tag {
  position: absolute; top: 14px; left: 14px; font-size: 11px; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 100px; background: var(--navy); color: var(--cream);
}
.ph-tag--after { background: var(--accent); }
.ph-pair { display: flex; gap: 12px; }
.ph-pair > .ph { flex: 1; }
.section--dark .ph { border-color: #2A3F52; background: repeating-linear-gradient(135deg, #1C3247, #1C3247 10px, #213A50 10px, #213A50 20px); }
.section--dark .ph-label { color: #9CAFBE; }

/* ============================ Cards & grids ============================ */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: box-shadow .15s ease, transform .15s ease;
}
a.card:hover { box-shadow: 0 14px 30px rgba(22, 40, 58, 0.12); transform: translateY(-2px); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-family: var(--serif); font-size: 18.5px; font-weight: 600; color: var(--navy); }
.card-text { font-size: 14.5px; line-height: 1.6; color: var(--body-c); margin: 0; flex: 1; }
.card-link { font-size: 14.5px; font-weight: 600; color: var(--accent); }
.card .ph { border: none; border-bottom: 1px solid var(--border); border-radius: 0; }

/* Numbered "why choose us" items */
.why-num { font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--accent); opacity: 0.55; margin-bottom: 8px; }
.why-title { font-size: 17px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.why-desc { font-size: 15px; line-height: 1.55; color: var(--body-c); margin: 0; }

/* Checklist (dark section) */
.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.55; color: #E4EAF0; }
.check-list li::before {
  content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent-light); box-shadow: 0 0 0 4.5px rgba(140, 197, 222, 0.25); margin-top: 7px;
}
.check-list--light li { color: var(--body-c); }
.check-list--light li::before { background: var(--accent); box-shadow: 0 0 0 4.5px rgba(12, 110, 154, 0.18); }

/* Testimonials */
.tcard {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; height: 100%;
}
.tcard::before { content: "\201C"; font-family: var(--serif); font-size: 38px; line-height: 0.6; color: var(--accent); opacity: 0.5; }
.tcard blockquote { margin: 0; flex: 1; font-size: 15px; line-height: 1.6; color: #2A3441; }
.tcard figcaption { font-size: 14px; font-weight: 600; color: var(--navy); }
.tcard figcaption span { font-weight: 400; color: var(--muted); }

/* Client pills */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill {
  border: 1px solid var(--border); border-radius: 100px; padding: 10px 20px;
  font-size: 14.5px; color: var(--body-c); font-weight: 500; background: var(--card);
}

/* ============================ Forms ============================ */
.quote-form {
  background: #FFFFFF; border-radius: 16px; padding: clamp(24px, 3vw, 34px);
  display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(22, 40, 58, 0.10);
}
.quote-form-title { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--navy); margin: 0; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--border);
  font-size: 15px; font-family: var(--sans); background: var(--cream); color: var(--ink);
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; }
.field-row { display: flex; gap: 14px; flex-wrap: wrap; }
.field-row .field { flex: 1 1 180px; }
.form-note { font-size: 13.5px; color: var(--navy); margin: 0; }
.form-note a { color: var(--accent-dark); font-weight: 600; }
/* Form text stays dark regardless of which section the form sits in (e.g. the colored CTA band) */
.quote-form .quote-form-title { color: var(--navy); }
.quote-form .form-note { color: var(--navy); }
.quote-form .field label { color: var(--navy); }
.form-status { font-size: 15px; font-weight: 600; margin: 0; display: none; }
.form-status.ok { display: block; color: var(--accent-dark); }
.form-status.err { display: block; color: #9c3a1f; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ============================ CTA band ============================ */
.cta-band h2 { color: #F8F4EA; }
.cta-band .cta-cols > div:first-child p { color: #D8E9F2; }
.cta-phone { font-family: var(--serif); font-size: clamp(28px, 4vw, 42px); font-weight: 600; color: #FDFBF6; text-decoration: none; }
.cta-phone:hover { text-decoration: underline; }
.cta-meta { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: #D8E9F2; margin-top: 22px; }
.cta-meta a { color: var(--cream); }
.cta-cols { display: flex; gap: clamp(32px, 5vw, 56px); flex-wrap: wrap; align-items: flex-start; }
.cta-cols > div:first-child { flex: 1 1 380px; min-width: 290px; }
.cta-cols > .quote-form { flex: 1 1 380px; min-width: 290px; }

/* ============================ Breadcrumbs ============================ */
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }

/* ============================ Prose (long-form service copy) ============================ */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose ul { color: var(--body-c); padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }

.split { display: flex; gap: clamp(32px, 5vw, 64px); flex-wrap: wrap; align-items: flex-start; }
.split > * { flex: 1 1 380px; min-width: 290px; }
.split--center { align-items: center; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px; font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; color: var(--accent); flex: none; font-family: var(--sans); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding: 0 4px 20px; max-width: 720px; }

/* ============================ Tables (area pages, misc) ============================ */
.info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--body-c); }
.info-list strong { color: var(--navy); }

/* ============================ Footer ============================ */
.site-footer { background: var(--navy-deep); padding: clamp(48px, 6vw, 72px) 0 26px; }
.footer-cols {
  display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between;
  padding-bottom: 34px; border-bottom: 1px solid var(--navy-line);
}
.footer-cols > div { flex: 1 1 200px; min-width: 180px; }
.footer-brand { font-family: var(--serif); font-weight: 700; font-size: 21px; color: var(--cream); margin-bottom: 10px; }
.footer-blurb { font-size: 14px; line-height: 1.6; color: var(--on-dark-soft); max-width: 280px; margin: 0; }
.footer-h { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #5C7284; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a, .footer-links span { color: var(--on-dark); text-decoration: none; font-size: 14.5px; }
.footer-links a:hover { color: var(--cream); text-decoration: underline; }
.footer-links .footer-phone { color: var(--cream); font-size: 16px; font-weight: 600; }
address { font-style: normal; }
.footer-bottom {
  padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: #5C7284;
}

/* ============================ Sticky mobile call bar ============================ */
.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: none; gap: 1px; background: var(--navy-deep);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  flex: 1; text-align: center; padding: 15px 10px; font-weight: 700; font-size: 15px; text-decoration: none;
}
.mobile-bar .mb-call { background: var(--accent); color: #FDFBF6; }
.mobile-bar .mb-quote { background: var(--navy); color: var(--cream); }
@media (max-width: 767px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 54px; }
}

/* ============================ Utility ============================ */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-lg { margin-bottom: clamp(32px, 4vw, 48px); }
.lead { font-size: 18px; }
.todo-flag { background: #FFF3C4; color: #7a5b00; font-size: 13px; font-weight: 600; padding: 2px 8px; border-radius: 6px; }
