/* Wayzata Janitorial — Theme A: Direct & Operational */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0d2b45;
  --accent: #e85c2a;
  --accent-light: #fdf0eb;
  --bg: #f8f8f6;
  --text: #1e1e1e;
  --text-muted: #555555;
  --border: #d0ccc4;
  --white: #ffffff;
  --font-heading: Arial Black, Arial, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
}

html { font-size: 16px; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg); }

/* ── HEADER ── */
.site-header {
  background: #2c2c2c;
  color: var(--white);
  padding: 0;
}
.header-top {
  background: var(--primary);
  padding: 6px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.header-strapline { color: #a8bfce; }
.header-phone a { color: var(--white); text-decoration: none; font-weight: bold; font-size: 15px; }
.header-phone a:hover { color: var(--accent); }
.header-main {
  background: #2c2c2c;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-logo { font-family: var(--font-heading); font-size: 22px; color: var(--white); text-decoration: none; }
.site-logo span { color: var(--accent); }
nav { display: flex; gap: 4px; flex-wrap: wrap; }
nav a {
  color: #cccccc;
  text-decoration: none;
  padding: 6px 12px;
  font-size: 14px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
nav a:hover, nav a.active { color: var(--white); border-bottom-color: var(--accent); }

/* ── HERO ── */
.hero {
  background: var(--primary);
  color: var(--white);
  padding: 56px 24px 48px;
  text-align: center;
}
.hero h1 { font-family: var(--font-heading); font-size: 36px; line-height: 1.2; margin-bottom: 16px; }
.hero p { font-size: 18px; color: #a8bfce; max-width: 640px; margin: 0 auto 32px; }
.hero .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent);
  color: var(--white);
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 15px;
  text-decoration: none;
  border-radius: 0;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #c44e22; }
.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 13px 28px;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid #a8bfce;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--white); }

/* ── QUOTE FORM ── */
.quote-box {
  background: var(--white);
  border-top: 4px solid var(--accent);
  padding: 32px;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.quote-box h2 { font-family: var(--font-heading); font-size: 20px; color: var(--primary); margin-bottom: 8px; }
.quote-box p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.form-row input, .form-row select, .form-row textarea, .form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  outline: none;
  border-radius: 0;
}
.form-row input:focus, .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-col { flex: 1; min-width: 180px; }
.form-group { margin-bottom: 12px; }
.quote-box .btn-primary { width: 100%; text-align: center; padding: 14px; font-size: 16px; margin-top: 8px; }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 8px; }

/* ── LAYOUT ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 56px 24px; }
.section-alt { background: var(--white); }
.section-dark { background: var(--primary); color: var(--white); }

/* ── CONTENT BLOCKS ── */
h2 { font-family: var(--font-heading); font-size: 26px; color: var(--primary); margin-bottom: 16px; line-height: 1.25; }
h3 { font-family: var(--font-heading); font-size: 18px; color: var(--primary); margin-bottom: 10px; }
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }
ul, ol { margin-left: 20px; margin-bottom: 16px; }
li { margin-bottom: 6px; }
a { color: var(--accent); }
a:hover { color: #c44e22; }

.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p, .section-dark li { color: #a8bfce; }
.section-dark a { color: #f0a882; }

/* ── CARDS / GRIDS ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 32px; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  padding: 24px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--text-muted); }

.town-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 24px; }
.town-link {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--primary);
  font-weight: bold;
  font-size: 15px;
  border-left: 3px solid var(--accent);
  transition: background 0.15s;
}
.town-link:hover { background: var(--accent-light); color: var(--accent); }

/* ── TABLE ── */
table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
th { background: var(--primary); color: var(--white); padding: 12px 16px; text-align: left; font-family: var(--font-heading); font-size: 14px; }
td { padding: 11px 16px; border-bottom: 1px solid var(--border); }
tr:nth-child(even) td { background: #f2f1ef; }
tr:hover td { background: var(--accent-light); }

/* ── PROCESS STEPS ── */
.steps { counter-reset: step; margin-top: 32px; }
.step { display: flex; gap: 20px; margin-bottom: 28px; }
.step-num {
  counter-increment: step;
  background: var(--accent);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 18px;
  flex-shrink: 0;
}
.step-content h3 { margin-top: 6px; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { font-family: var(--font-heading); font-size: 16px; color: var(--primary); margin-bottom: 10px; }
.faq-a { color: var(--text-muted); font-size: 15px; }

/* ── BREADCRUMB ── */
.breadcrumb { padding: 14px 24px; font-size: 13px; color: var(--text-muted); background: var(--white); border-bottom: 1px solid var(--border); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 6px; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--primary);
  color: var(--white);
  padding: 40px 24px;
}
.page-hero h1 { font-family: var(--font-heading); font-size: 30px; margin-bottom: 10px; }
.page-hero p { color: #a8bfce; font-size: 16px; max-width: 680px; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--accent-light);
  border-top: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  padding: 20px 24px;
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}
.trust-item { font-size: 14px; color: var(--text-muted); }
.trust-item strong { display: block; font-family: var(--font-heading); font-size: 20px; color: var(--primary); }

/* ── CTA BLOCK ── */
.cta-block {
  background: var(--accent);
  color: var(--white);
  padding: 40px 24px;
  text-align: center;
}
.cta-block h2 { color: var(--white); margin-bottom: 8px; }
.cta-block p { color: rgba(255,255,255,0.85); margin-bottom: 24px; }
.btn-white {
  background: var(--white);
  color: var(--accent);
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  margin: 0 8px;
}
.btn-white:hover { background: #f8f8f6; }

/* ── FOOTER ── */
.site-footer {
  background: #1a1a1a;
  color: #888;
  padding: 40px 24px 20px;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-bottom: 32px; }
.footer-col h4 { font-family: var(--font-heading); font-size: 13px; color: #cccccc; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col a { color: #888; text-decoration: none; display: block; margin-bottom: 6px; font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-col p { font-size: 14px; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; font-size: 13px; text-align: center; }
.footer-phone { font-size: 20px; color: var(--white); font-weight: bold; }
.footer-phone a { color: var(--white); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .hero h1 { font-size: 26px; }
  .header-top { flex-direction: column; gap: 4px; text-align: center; }
  nav { justify-content: center; }
  .trust-bar { gap: 20px; }
  .form-row { flex-direction: column; }
  h2 { font-size: 22px; }
}

/* ── FORM STATUS ── */
.form-status {
  display: none;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  font-size: 0.92rem;
}
.form-status.is-visible { display: block; }
.form-status.is-success {
  background: #eaf6ec;
  border-color: #9ecfa4;
  color: #1e5c28;
}
.form-status.is-error {
  background: #fbeae7;
  border-color: #e8a999;
  color: #8a2d1a;
}
.btn-primary[disabled] { opacity: 0.6; cursor: not-allowed; }
