/* Tempe Commercial Cleaning — 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;
  --muted:         #555555;
  --border:        #d0ccc4;
  --white:         #ffffff;
}

html { font-size: 16px; }

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  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;
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.header-top a { color: #cde; text-decoration: none; }
.header-main {
  background: #2c2c2c;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-logo {
  font-family: Arial Black, Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  line-height: 1.2;
}
.site-logo span { color: var(--accent); }
.logo-tagline { font-size: 0.72rem; color: #aab; margin-top: 2px; letter-spacing: 0.03em; }
.header-cta a.btn-accent {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: Arial Black, Arial, sans-serif;
  font-weight: 900;
  font-size: 0.9rem;
  padding: 11px 22px;
  text-decoration: none;
  border-radius: 0;
  white-space: nowrap;
}
.header-cta a.btn-accent:hover { background: #c94e22; }

nav.site-nav {
  background: var(--primary);
  padding: 0 24px;
}
nav.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
nav.site-nav ul li a {
  display: block;
  color: #cde;
  text-decoration: none;
  padding: 12px 14px;
  font-size: 0.85rem;
  transition: background 0.15s;
}
nav.site-nav ul li a:hover,
nav.site-nav ul li a.active { background: rgba(255,255,255,0.1); color: #fff; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  background: var(--primary);
  color: var(--white);
  padding: 52px 24px 48px;
}
.hero-inner { max-width: 900px; margin: 0 auto; }
.hero h1 {
  font-family: Arial Black, Arial, sans-serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 14px;
}
.hero-sub {
  font-size: 1.05rem;
  color: #bcd;
  margin-bottom: 28px;
  max-width: 640px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: Arial Black, Arial, sans-serif;
  font-weight: 900;
  font-size: 1rem;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 0;
}
.btn-primary:hover { background: #c94e22; }
.btn-secondary {
  display: inline-block;
  background: transparent;
  border: 2px solid #cde;
  color: #cde;
  font-size: 0.95rem;
  padding: 12px 22px;
  text-decoration: none;
  border-radius: 0;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.hero-phone { font-size: 1.2rem; font-weight: bold; color: var(--white); }
.hero-phone a { color: inherit; text-decoration: none; }
.hero-hours { font-size: 0.8rem; color: #9ab; margin-top: 4px; }

/* ── QUOTE FORM ───────────────────────────────────────────── */
.quote-strip {
  background: var(--accent-light);
  border-top: 4px solid var(--accent);
  padding: 32px 24px;
}
.quote-strip-inner { max-width: 700px; margin: 0 auto; }
.quote-strip h2 {
  font-family: Arial Black, Arial, sans-serif;
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--primary);
}
.quote-form { display: flex; flex-wrap: wrap; gap: 10px; }
.quote-form input, .quote-form select, .quote-form textarea {
  padding: 10px 12px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  font-family: Arial, sans-serif;
  background: var(--white);
  flex: 1 1 200px;
}
.quote-form textarea { flex: 1 1 100%; height: 80px; resize: vertical; }
.quote-form button {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 12px 28px;
  font-family: Arial Black, Arial, sans-serif;
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 0;
  white-space: nowrap;
}
.quote-form button:hover { background: #c94e22; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 8px; }

/* ── LAYOUT ───────────────────────────────────────────────── */
.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.section { padding: 52px 24px; }
.section-alt { background: var(--white); }
.section h2 {
  font-family: Arial Black, Arial, sans-serif;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.section h3 {
  font-family: Arial Black, Arial, sans-serif;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.section p { margin-bottom: 14px; max-width: 780px; }
.section ul, .section ol { margin: 0 0 14px 20px; max-width: 780px; }
.section li { margin-bottom: 6px; }

/* ── CARDS / GRID ─────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; color: var(--muted); }
.card a { color: var(--accent); font-weight: bold; text-decoration: none; display: inline-block; margin-top: 8px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.service-card {
  background: var(--white);
  border-left: 4px solid var(--accent);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  padding: 20px 20px 20px 20px;
}
.service-card h3 { font-size: 1rem; margin-bottom: 8px; }
.service-card p { font-size: 0.88rem; color: var(--muted); margin-bottom: 8px; }
.service-card a { font-size: 0.88rem; color: var(--accent); text-decoration: none; font-weight: bold; }

/* ── TOWNS GRID ───────────────────────────────────────────── */
.towns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.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: 0.9rem;
  transition: border-color 0.15s, background 0.15s;
}
.town-link:hover { border-color: var(--accent); background: var(--accent-light); }

/* ── TABLES ───────────────────────────────────────────────── */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}
th {
  background: var(--primary);
  color: var(--white);
  text-align: left;
  padding: 10px 14px;
  font-family: Arial Black, Arial, sans-serif;
}
td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
tr:nth-child(even) td { background: var(--bg); }

/* ── PROCESS STEPS ────────────────────────────────────────── */
.process-steps { margin: 24px 0; }
.step {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.step-num {
  background: var(--accent);
  color: var(--white);
  font-family: Arial Black, Arial, sans-serif;
  font-size: 1.1rem;
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-body h3 { font-size: 1rem; margin-bottom: 6px; }
.step-body p { font-size: 0.92rem; color: var(--muted); }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-family: Arial Black, Arial, sans-serif; font-size: 1rem; color: var(--primary); margin-bottom: 8px; }
.faq-a { color: var(--muted); font-size: 0.95rem; }

/* ── CTA BAND ─────────────────────────────────────────────── */
.cta-band {
  background: var(--primary);
  color: var(--white);
  padding: 44px 24px;
  text-align: center;
}
.cta-band h2 {
  font-family: Arial Black, Arial, sans-serif;
  font-size: 1.6rem;
  margin-bottom: 14px;
  color: var(--white);
}
.cta-band p { color: #bcd; margin-bottom: 20px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: #1a1a1a;
  color: #aaa;
  padding: 40px 24px 20px;
  font-size: 0.85rem;
}
.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 28px;
}
.footer-col h4 {
  color: var(--white);
  font-family: Arial Black, Arial, sans-serif;
  font-size: 0.85rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { color: #999; text-decoration: none; }
.footer-col ul li a:hover { color: var(--white); }
.footer-col p { color: #888; line-height: 1.7; }
.footer-bottom {
  max-width: 1040px;
  margin: 0 auto;
  border-top: 1px solid #333;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: #666;
}
.footer-logo {
  font-family: Arial Black, Arial, sans-serif;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
  display: block;
}
.years-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: Arial Black, Arial, sans-serif;
  font-size: 0.72rem;
  padding: 3px 8px;
  margin-bottom: 8px;
}

/* ── BREADCRUMB ───────────────────────────────────────────── */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
  font-size: 0.8rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── PAGE HERO (non-home) ─────────────────────────────────── */
.page-hero {
  background: var(--primary);
  color: var(--white);
  padding: 38px 24px 34px;
}
.page-hero h1 {
  font-family: Arial Black, Arial, sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 8px;
}
.page-hero p { color: #bcd; font-size: 0.95rem; max-width: 600px; }

/* ── NOTICE BOX ───────────────────────────────────────────── */
.notice {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.92rem;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero h1 { font-size: 1.5rem; }
  .page-hero h1 { font-size: 1.3rem; }
  .section h2 { font-size: 1.25rem; }
  .header-main { flex-direction: column; align-items: flex-start; }
  .quote-form input, .quote-form select { flex: 1 1 100%; }
}
