/*
Theme Name: 805 Pressure Washing
Theme URI: https://805pressurewash.com
Author: 805 Pressure Washing
Description: Fast, SEO-focused block theme for 805 Pressure Washing LLC. Every page is editable in the WordPress block editor.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: pw805
*/

:root {
  --brand: #2a5b94;
  --brand-deep: #16263d;
  --brand-fg: #ffffff;
  --bg: #f8f9fa;
  --card: #ffffff;
  --fg: #26303c;
  --muted-fg: #66707d;
  --secondary: #e9edf2;
  --border: #dde3ea;
  --radius: 6px;
  --shadow-card: 0 1px 2px rgba(22, 38, 61, 0.06), 0 12px 32px -12px rgba(22, 38, 61, 0.18);
  --shadow-lift: 0 2px 4px rgba(22, 38, 61, 0.08), 0 24px 48px -16px rgba(22, 38, 61, 0.28);
  --font-display: "Barlow Condensed", Impact, sans-serif;
  --font-sans: "Barlow", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--brand-deep);
  line-height: 1.05;
  margin: 0;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .wrap { padding: 0 1.5rem; } }

.screen-reader-text { position: absolute; left: -9999px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 249, 250, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; gap: 1rem; padding-top: .75rem; padding-bottom: .75rem; }
.site-brand { display: flex; align-items: center; gap: .625rem; text-decoration: none; }
.site-brand img { height: 2.75rem; width: auto; }
.site-brand span {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 1.25rem; line-height: 1; color: var(--brand-deep);
}
.main-nav { margin-left: auto; display: none; align-items: center; gap: .25rem; }
.main-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: .25rem; }
.main-nav a {
  display: block; padding: .5rem .75rem; border-radius: var(--radius);
  font-size: .875rem; font-weight: 600; color: rgba(38, 48, 60, .85); text-decoration: none;
}
.main-nav a:hover, .main-nav .current-menu-item > a { background: var(--secondary); color: var(--brand); }
@media (min-width: 1024px) { .main-nav { display: flex; } .menu-toggle { display: none; } }

.btn {
  display: inline-flex; align-items: center; gap: .5rem; border-radius: var(--radius);
  padding: .75rem 1.5rem; font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; text-decoration: none; border: 0; cursor: pointer;
}
.btn--brand { background: var(--brand); color: var(--brand-fg); }
.btn--brand:hover { background: var(--brand-deep); text-decoration: none; }
.btn--outline { border: 1px solid rgba(255,255,255,.3); color: #fff; }
.btn--outline:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.btn--ghost { border: 1px solid var(--border); background: var(--card); color: var(--fg); }
.btn--ghost:hover { background: var(--secondary); text-decoration: none; }
.header-phone { margin-left: auto; }
@media (min-width: 1024px) { .header-phone { margin-left: 0; } }

.menu-toggle {
  width: 2.5rem; height: 2.5rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: transparent; font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--bg); padding: 0 1rem 1rem; }
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav a { display: block; padding: .75rem 0; border-bottom: 1px solid var(--border); font-weight: 600; color: var(--fg); }
@media (min-width: 1024px) { .mobile-nav, .mobile-nav.is-open { display: none; } }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
@media (min-width: 1024px) { .section { padding: 5rem 0; } }
.section > .wp-block-group__inner-container,
.section > .wrap { max-width: 80rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) {
  .section > .wp-block-group__inner-container,
  .section > .wrap { padding-left: 1.5rem; padding-right: 1.5rem; }
}
.section--muted { background: var(--secondary); }
.section--deep { background: var(--brand-deep); color: #eef2f7; }
.section--deep h1, .section--deep h2, .section--deep h3 { color: #fff; }

.eyebrow {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .16em;
  font-weight: 600; font-size: .8125rem; color: var(--brand); margin-bottom: .5rem;
}
.section--deep .eyebrow, .hero .eyebrow { color: rgba(255,255,255,.8); }
.lead { font-size: 1.125rem; color: var(--muted-fg); max-width: 42rem; }
.section--deep .lead, .hero .lead { color: rgba(255,255,255,.85); }

/* ---------- Hero / cover ---------- */
.hero { position: relative; }
.hero .wp-block-cover__inner-container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.hero h1, .hero p { color: #fff; }
.hero .wp-block-buttons { margin-top: 2rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow-card); height: 100%;
}
.card p { color: var(--muted-fg); font-size: .9375rem; }
.card--top { border: 0; border-top: 4px solid var(--brand); border-radius: 0; }
.card--left { border: 0; border-left: 4px solid var(--brand); border-radius: 0; background: var(--secondary); box-shadow: none; }
.card--image { padding: 0; overflow: hidden; }
.card--image img { width: 100%; height: 11rem; object-fit: cover; }
.card--image .card__body { padding: 1.25rem; }
.step-number { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--brand); line-height: 1; }

.pill-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; padding: 0; }
.pill-list li { background: var(--card); border-radius: 999px; padding: .375rem 1rem; font-size: .875rem; font-weight: 600; box-shadow: var(--shadow-card); }

.check-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1.5rem 0 0; padding: 0; font-weight: 600; font-size: .875rem; }
.check-list li::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: .4rem; }
.hero .check-list li, .section--deep .check-list li { color: #fff; }
.hero .check-list li::before, .section--deep .check-list li::before { color: #fff; }

/* ---------- Reviews ---------- */
.review-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-card); margin: 0 0 1.5rem; }
.review-card .stars { color: var(--brand); letter-spacing: .1em; }
.review-card blockquote { margin: .75rem 0 0; font-size: .9375rem; color: var(--muted-fg); }
.review-card figcaption { margin-top: 1rem; font-weight: 700; font-size: .875rem; }
.review-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review-grid .review-card { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contact-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.contact-list li { font-weight: 600; margin-bottom: .75rem; }
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-card); }
@media (min-width: 640px) { .form-card { padding: 2rem; } }
.form-card input[type="text"], .form-card input[type="tel"], .form-card input[type="email"],
.form-card textarea, .form-card select, .wpcf7 input, .wpcf7 textarea, .wpcf7 select,
.wpforms-field input, .wpforms-field textarea, .wpforms-field select {
  width: 100%; border: 1px solid var(--border); border-radius: var(--radius);
  padding: .625rem .75rem; font-family: inherit; font-size: .9375rem; background: #fff;
}
.wpcf7 input[type="submit"], .wpforms-submit {
  background: var(--brand) !important; color: #fff !important; border: 0 !important;
  border-radius: var(--radius) !important; padding: .875rem 1.5rem !important;
  font-family: var(--font-display) !important; font-weight: 700 !important;
  text-transform: uppercase !important; letter-spacing: .04em; cursor: pointer; width: 100%;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-deep); color: #eef2f7; }
.site-footer a { color: rgba(238, 242, 247, .75); }
.site-footer a:hover { color: #fff; }
.site-footer h3 { color: #fff; }
.footer-grid { display: grid; gap: 2.5rem; padding: 3.5rem 0; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer ul { list-style: none; margin: .75rem 0 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; font-size: .9375rem; }
.footer-phone { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #fff !important; display: inline-block; margin-top: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom p { padding: 1.25rem 0; font-size: .75rem; color: rgba(238,242,247,.6); }
.bbb-seal { height: 4rem; width: auto; margin-top: .5rem; }

/* ---------- Editor-friendly helpers ---------- */
.wp-block-columns { gap: 1.5rem; }
.entry-content > *:not(.section):not(.hero):not(.alignfull) { max-width: 46rem; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; }
