/* South Saint Paul Church Cleaning — Theme B: Warm & Local */
/* churchcleaningsouthsaintpaul.com */

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

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

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.3;
}
h1 { font-size: 2rem; margin-bottom: 1rem; }
h2 { font-size: 1.5rem; margin-bottom: 0.75rem; margin-top: 2rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; margin-top: 1.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--accent); text-decoration: underline; }
a:hover { color: var(--primary); }

/* Layout */
.container { max-width: 960px; margin: 0 auto; padding: 0 1.25rem; }
.container--wide { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

/* Header */
header {
  background: var(--primary);
  border-bottom: 3px solid var(--accent);
  padding: 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
.header-brand {
  display: flex;
  flex-direction: column;
}
.header-brand .brand-name {
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.header-brand .brand-tagline {
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  color: var(--accent-light);
  margin-top: 0.15rem;
}
.header-contact {
  text-align: right;
}
.header-contact .phone {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.03em;
}
.header-contact .hours {
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  color: var(--accent-light);
  margin-top: 0.1rem;
}

/* Nav */
nav {
  background: var(--primary);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
nav a {
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 0.6rem 0.9rem;
  display: inline-block;
  border-right: 1px solid rgba(255,255,255,0.08);
}
nav a:hover { color: var(--accent); background: rgba(255,255,255,0.04); }

/* Hero / above fold */
.hero {
  background: var(--primary);
  padding: 2.5rem 1.25rem;
  color: var(--white);
}
.hero-inner {
  max-width: 1100px;
  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; margin-bottom: 0.75rem; }
.hero .hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.87); margin-bottom: 1.25rem; }
.hero .phone-hero {
  font-family: Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--accent);
  text-decoration: none;
  display: block;
  margin-bottom: 0.35rem;
}
.hero .phone-note { font-family: Arial, sans-serif; font-size: 0.78rem; color: rgba(255,255,255,0.65); }

/* Quote form */
.quote-form-box {
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: 4px;
  padding: 1.5rem;
}
.quote-form-box h2 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.form-group { margin-bottom: 0.9rem; }
.form-group label {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--bg);
  color: var(--text);
}
.form-group textarea { resize: vertical; min-height: 70px; }
.btn-primary {
  display: block;
  width: 100%;
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.85rem 1.5rem;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 3px;
  text-align: center;
  text-decoration: none;
  margin-top: 0.5rem;
}
.btn-primary:hover { background: #9a7820; color: var(--white); }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 0.65rem 1.25rem;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 3px;
  text-decoration: none;
}
.btn-secondary:hover { background: var(--accent-light); }

/* Content sections */
.section { padding: 2.5rem 1.25rem; }
.section--alt { background: var(--accent-light); }
.section--white { background: var(--white); }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  border-radius: 2px;
}
.card h3 { margin-top: 0; font-size: 1.05rem; }
.card p { font-size: 0.95rem; margin-bottom: 0; color: var(--text-muted); }

/* Town grid */
.town-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.town-link {
  display: block;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--primary);
  font-family: Arial, sans-serif;
  font-size: 0.88rem;
  border-radius: 2px;
  transition: border-color 0.15s;
}
.town-link:hover { border-color: var(--accent); color: var(--accent); }

/* Trust bar */
.trust-bar {
  background: var(--primary);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item {
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.trust-item strong { color: var(--accent); }

/* Process steps */
.process-steps { counter-reset: step; list-style: none; padding: 0; }
.process-steps li {
  counter-increment: step;
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.process-steps li::before {
  content: counter(step);
  background: var(--accent);
  color: var(--white);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

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

/* Footer */
footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 2.5rem 1.25rem 1.5rem;
  margin-top: 3rem;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.footer-col h4 {
  font-family: Georgia, serif;
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  margin-top: 0;
}
footer a { color: rgba(255,255,255,0.75); text-decoration: none; }
footer a:hover { color: var(--accent); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.35rem; }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

/* Breadcrumb */
.breadcrumb {
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.75rem 1.25rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }

/* Page header */
.page-header {
  background: var(--primary);
  padding: 2rem 1.25rem;
  color: var(--white);
}
.page-header h1 { color: var(--white); font-size: 1.85rem; margin-bottom: 0.4rem; }
.page-header .page-sub { color: rgba(255,255,255,0.75); font-size: 0.95rem; }

/* Inline CTA */
.cta-inline {
  background: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: 3px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.cta-inline p { margin: 0; font-size: 0.95rem; }

/* FAQ */
.faq-item { margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); padding-bottom: 1.25rem; }
.faq-item h3 { color: var(--primary); font-size: 1.05rem; margin-top: 0; margin-bottom: 0.5rem; }
.faq-item p { margin: 0; font-size: 0.95rem; color: var(--text-muted); }

/* Responsive */
@media (max-width: 680px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero .phone-hero { font-size: 1.3rem; }
  h1 { font-size: 1.55rem; }
  .trust-bar { gap: 1rem; }
  .cta-inline { flex-direction: column; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .header-contact { text-align: left; }
}

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