/* Saint Paul Park Church Cleaning — Theme B: Warm & Local */
/* Primary: #1a2e4a | Accent: #b8902a | Background: #faf8f4 | Text: #2c2c2c */

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

:root {
  --primary: #1a2e4a;
  --accent: #b8902a;
  --accent-light: #f5e9c8;
  --bg: #faf8f4;
  --text: #2c2c2c;
  --text-muted: #5a5a5a;
  --border: #d8d0c0;
  --white: #ffffff;
  --max: 1080px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

/* ── TYPOGRAPHY ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--primary);
  line-height: 1.25;
}
h1 { font-size: 2rem; font-weight: bold; margin-bottom: 0.75rem; }
h2 { font-size: 1.5rem; font-weight: bold; margin-bottom: 0.6rem; margin-top: 2rem; }
h3 { font-size: 1.15rem; font-weight: bold; margin-bottom: 0.4rem; margin-top: 1.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--accent); text-decoration: underline; }
a:hover { color: var(--primary); }
ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.35rem; }

/* ── HEADER ─────────────────────────────────── */
.site-header {
  background: var(--primary);
  padding: 0;
  border-bottom: 3px solid var(--accent);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  min-height: 70px;
}
.site-logo {
  font-family: Georgia, serif;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: bold;
  text-decoration: none;
  line-height: 1.25;
}
.site-logo span {
  display: block;
  font-size: 0.7rem;
  font-weight: normal;
  color: var(--accent-light);
  font-family: Arial, sans-serif;
  letter-spacing: 0.04em;
}
.header-contact {
  font-family: Arial, sans-serif;
  text-align: right;
  color: var(--white);
  font-size: 0.85rem;
}
.header-phone {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--accent-light);
  text-decoration: none;
  display: block;
}
.header-hours { font-size: 0.75rem; color: #b0b8c8; margin-top: 0.1rem; }

/* ── NAV ─────────────────────────────────────── */
.site-nav {
  background: #152540;
  border-bottom: 1px solid #243d5e;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.nav-inner a {
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  color: #c8d0dc;
  text-decoration: none;
  padding: 0.6rem 0.9rem;
  display: block;
  border-right: 1px solid #243d5e;
  transition: background 0.15s, color 0.15s;
}
.nav-inner a:first-child { border-left: 1px solid #243d5e; }
.nav-inner a:hover, .nav-inner a.active { background: var(--accent); color: var(--white); }

/* ── HERO ────────────────────────────────────── */
.hero {
  background: var(--primary);
  border-bottom: 4px solid var(--accent);
  padding: 3rem 1.5rem;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}
.hero h1 { color: var(--white); font-size: 2.1rem; }
.hero-sub {
  color: #c8d4e0;
  font-size: 1.05rem;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  font-family: Georgia, serif;
}
.hero-years {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 0.3rem 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-phone {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent-light);
  font-family: Arial, sans-serif;
  display: block;
  margin-bottom: 0.4rem;
  text-decoration: none;
}
.hero-phone:hover { color: var(--white); }

/* ── QUOTE FORM ──────────────────────────────── */
.quote-card {
  background: var(--white);
  border: 2px solid var(--accent);
  border-top: 5px solid var(--accent);
  padding: 1.5rem;
}
.quote-card h2 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}
.form-row { margin-bottom: 0.85rem; }
.form-row label {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--border);
  padding: 0.55rem 0.75rem;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  border-radius: 0;
}
.form-row textarea { min-height: 70px; resize: vertical; }
.btn-submit {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.85rem;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  display: block;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-submit:hover { background: #9a7820; color: var(--white); }
.form-note {
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-align: center;
}
.form-status {
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  margin-top: 0.75rem;
  padding: 0.65rem 0.85rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success {
  background: #eaf3e6;
  border: 1px solid #8fbf7a;
  color: #2f5c1f;
}
.form-status.is-error {
  background: #fbe9e7;
  border: 1px solid #d98a80;
  color: #8a2f22;
}
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── MAIN CONTENT ────────────────────────────── */
.main-wrap { max-width: var(--max); margin: 0 auto; padding: 2.5rem 1.5rem; }
.content-col { max-width: 720px; }

/* ── ACCENT CARD ─────────────────────────────── */
.accent-card {
  border-left: 4px solid var(--accent);
  background: var(--accent-light);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.accent-card p:last-child { margin-bottom: 0; }

/* ── SERVICE GRID ────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.service-card {
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  background: var(--white);
  padding: 1.25rem;
}
.service-card h3 { margin-top: 0; font-size: 1rem; }
.service-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.service-card a {
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--accent);
  text-decoration: none;
}
.service-card a:hover { text-decoration: underline; }

/* ── TOWN GRID ───────────────────────────────── */
.town-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.town-link {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.7rem 1rem;
  font-family: Arial, sans-serif;
  font-size: 0.875rem;
  color: var(--primary);
  text-decoration: none;
  display: block;
  border-left: 3px solid var(--accent);
}
.town-link:hover { background: var(--accent-light); }

/* ── TRUST BAR ───────────────────────────────── */
.trust-bar {
  background: var(--accent-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
}
.trust-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}
.trust-item {
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: bold;
  text-align: center;
}
.trust-item span {
  display: block;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 0.1rem;
}

/* ── SECTION DIVIDER ─────────────────────────── */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* ── BREADCRUMB ──────────────────────────────── */
.breadcrumb {
  background: var(--accent-light);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 1.5rem;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 0.3rem; }

/* ── PAGE HERO (inner pages) ─────────────────── */
.page-hero {
  background: var(--primary);
  border-bottom: 3px solid var(--accent);
  padding: 2rem 1.5rem;
}
.page-hero-inner { max-width: var(--max); margin: 0 auto; }
.page-hero h1 { color: var(--white); font-size: 1.75rem; margin-bottom: 0; }
.page-hero p { color: #c0cad8; margin-top: 0.5rem; margin-bottom: 0; font-size: 0.95rem; }

/* ── FAQ ─────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q { font-weight: bold; color: var(--primary); margin-bottom: 0.4rem; }
.faq-a { color: var(--text); margin-bottom: 0; }

/* ── TABLE ───────────────────────────────────── */
table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-family: Arial, sans-serif; font-size: 0.9rem; }
th { background: var(--primary); color: var(--white); padding: 0.6rem 0.75rem; text-align: left; font-weight: bold; }
td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--border); }
tr:nth-child(even) td { background: var(--accent-light); }

/* ── PROCESS STEPS ───────────────────────────── */
.process-steps { list-style: none; padding: 0; margin: 1.5rem 0; }
.process-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.step-num {
  background: var(--accent);
  color: var(--white);
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 0.9rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-body h3 { margin-top: 0; font-size: 1rem; }
.step-body p { margin-bottom: 0; font-size: 0.92rem; }

/* ── CTA BLOCK ───────────────────────────────── */
.cta-block {
  background: var(--primary);
  border-top: 3px solid var(--accent);
  padding: 2rem 1.5rem;
  text-align: center;
  margin-top: 3rem;
}
.cta-block h2 { color: var(--white); margin-top: 0; font-size: 1.4rem; }
.cta-block p { color: #c0cad8; margin-bottom: 1.25rem; }
.btn-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-cta:hover { background: #9a7820; color: var(--white); }
.btn-cta-phone {
  display: inline-block;
  color: var(--accent-light);
  font-family: Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
  text-decoration: none;
  margin-top: 0.75rem;
}

/* ── FOOTER ──────────────────────────────────── */
.site-footer {
  background: #111d2e;
  border-top: 3px solid var(--accent);
  padding: 2.5rem 1.5rem 1.5rem;
  margin-top: 0;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h4 {
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  margin-top: 0;
}
.footer-col p, .footer-col a {
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  color: #8a9aac;
  line-height: 1.65;
  text-decoration: none;
  display: block;
  margin-bottom: 0.3rem;
}
.footer-col a:hover { color: var(--accent-light); }
.footer-years {
  color: var(--accent-light);
  font-weight: bold;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: block;
}
.footer-bottom {
  border-top: 1px solid #243d5e;
  padding-top: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  color: #4a5a6a;
  margin: 0;
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.25rem; }
  .trust-bar-inner { gap: 1rem; }
  h1 { font-size: 1.6rem; }
  .hero h1 { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
