/* Mendota Commercial Cleaning — Theme A: Direct & Operational */
/* Primary: #0d2b45 | Accent: #e85c2a | Background: #f8f8f6 | Text: #1e1e1e */

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

:root {
  --primary: #0d2b45;
  --accent: #e85c2a;
  --accent-light: #fdf0eb;
  --bg: #f8f8f6;
  --text: #1e1e1e;
  --muted: #555555;
  --border: #d0ccc4;
  --white: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4 { font-family: "Arial Black", Arial, sans-serif; line-height: 1.2; }
h1 { font-size: 2rem; margin-bottom: 1rem; }
h2 { font-size: 1.5rem; margin-bottom: 0.75rem; color: var(--primary); }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.35rem; }

/* Layout */
.container { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 3rem 0; }
.section--dark { background: var(--primary); color: var(--white); }
.section--dark h2 { color: var(--white); }
.section--accent { background: var(--accent-light); }

/* Header */
header { background: #2a2a2a; color: var(--white); padding: 0; }
.header-top { background: var(--primary); padding: 0.4rem 0; font-size: 0.85rem; }
.header-top .container { display: flex; justify-content: space-between; align-items: center; }
.header-strapline { font-size: 0.85rem; color: #c0cad4; }
.header-strapline strong { color: var(--white); }
.header-main { padding: 1rem 0; }
.header-main .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.brand-name { font-family: "Arial Black", Arial, sans-serif; font-size: 1.35rem; color: var(--white); text-decoration: none; }
.brand-name:hover { text-decoration: none; color: #e0e0e0; }
.header-phone { font-size: 1.25rem; font-weight: bold; color: var(--white); text-decoration: none; }
.header-phone:hover { color: var(--accent); text-decoration: none; }

/* Nav */
nav { background: var(--primary); border-top: 2px solid var(--accent); }
nav .container { display: flex; gap: 0; flex-wrap: wrap; }
nav a { color: #c0cad4; text-decoration: none; padding: 0.65rem 1rem; font-size: 0.9rem; display: block; }
nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); text-decoration: none; }

/* Hero */
.hero { background: var(--primary); color: var(--white); padding: 3rem 0; }
.hero h1 { color: var(--white); font-size: 2.2rem; }
.hero-sub { font-size: 1.1rem; color: #c0cad4; margin-bottom: 1.5rem; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 680px) { .hero-grid { grid-template-columns: 1fr; } }

/* Quote Form */
.quote-form { background: var(--white); border-radius: 0; padding: 1.75rem; border-top: 4px solid var(--accent); }
.quote-form h2 { color: var(--primary); font-size: 1.15rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 0.9rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: bold; margin-bottom: 0.25rem; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.6rem 0.75rem; border: 1px solid var(--border);
  font-family: Arial, sans-serif; font-size: 0.95rem; color: var(--text); background: var(--white);
}
.form-group textarea { min-height: 80px; resize: vertical; }
.callback-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.5rem; }

/* Buttons */
.btn { display: inline-block; padding: 0.75rem 1.75rem; font-family: "Arial Black", Arial, sans-serif; font-size: 0.95rem; text-decoration: none; cursor: pointer; border: none; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: #c94d22; color: var(--white); text-decoration: none; }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); text-decoration: none; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Trust bar */
.trust-bar { background: var(--accent); color: var(--white); padding: 0.75rem 0; text-align: center; font-size: 0.95rem; }
.trust-bar strong { margin: 0 1.25rem; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.card { background: var(--white); border: 1px solid var(--border); padding: 1.5rem; }
.card h3 { color: var(--primary); border-bottom: 2px solid var(--accent); padding-bottom: 0.4rem; margin-bottom: 0.75rem; }

/* Tables */
table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: 0.95rem; }
th { background: var(--primary); color: var(--white); text-align: left; padding: 0.65rem 0.85rem; }
td { padding: 0.6rem 0.85rem; border-bottom: 1px solid var(--border); }
tr:nth-child(even) td { background: #f0ede8; }

/* Process steps */
.steps { counter-reset: step; list-style: none; margin-left: 0; }
.steps li { counter-increment: step; padding: 1rem 1rem 1rem 4rem; border-left: 3px solid var(--accent); margin-bottom: 1rem; background: var(--white); position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); background: var(--accent); color: var(--white); width: 1.75rem; height: 1.75rem; display: flex; align-items: center; justify-content: center; font-family: "Arial Black", Arial, sans-serif; font-size: 0.9rem; }

/* Breadcrumb */
.breadcrumb { font-size: 0.82rem; color: var(--muted); padding: 0.75rem 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 0.35rem; }

/* Page header band */
.page-header { background: var(--primary); color: var(--white); padding: 2rem 0; }
.page-header h1 { color: var(--white); font-size: 1.85rem; margin-bottom: 0.4rem; }
.page-header p { color: #c0cad4; margin-bottom: 0; }

/* Footer */
footer { background: #1a1a1a; color: #aaaaaa; padding: 2.5rem 0 1.5rem; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { color: var(--white); font-family: "Arial Black", Arial, sans-serif; font-size: 0.9rem; margin-bottom: 0.75rem; }
.footer-col ul { list-style: none; margin: 0; }
.footer-col li { margin-bottom: 0.35rem; }
.footer-col a { color: #aaaaaa; text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid #333; padding-top: 1rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.8rem; }
.footer-phone { color: var(--white); font-size: 1rem; font-weight: bold; }

/* CTA Band */
.cta-band { background: var(--accent); color: var(--white); padding: 2.5rem 0; text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-band p { margin-bottom: 1.25rem; color: rgba(255,255,255,0.9); }

/* Service area list */
.town-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.town-card { background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--accent); padding: 1rem 1.25rem; }
.town-card a { color: var(--primary); font-weight: bold; font-family: "Arial Black", Arial, sans-serif; font-size: 0.95rem; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 1rem 0; }
.faq-item h3 { color: var(--primary); font-size: 1rem; margin-bottom: 0.4rem; }

/* Inline phone */
.phone-inline { color: var(--accent); font-weight: bold; white-space: nowrap; }

/* Hours note */
.hours-note { background: var(--accent-light); border-left: 3px solid var(--accent); padding: 0.75rem 1rem; font-size: 0.9rem; margin-bottom: 1rem; }

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  .hero h1 { font-size: 1.6rem; }
  nav a { font-size: 0.82rem; padding: 0.55rem 0.65rem; }
  .footer-bottom { flex-direction: column; }
}
