/* Minneapolis Medical Office Cleaning — Theme C: Technical & Compliance-Led */

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

:root {
  --primary: #0a3d2e;
  --accent: #2a9d6f;
  --accent-light: #e8f5f0;
  --bg: #ffffff;
  --text: #1a1a1a;
  --text-muted: #4a4a4a;
  --border: #c8ddd6;
  --font-stack: Arial, Helvetica, sans-serif;
}

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

a { color: var(--primary); text-decoration: underline; }
a:hover { color: var(--accent); }

/* ── HEADER ── */
.site-header {
  background: var(--primary);
  color: #fff;
  padding: 0;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.brand-block .brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.brand-block .strapline {
  font-size: 0.78rem;
  color: #b2d8cc;
  margin-top: 0.15rem;
}
.header-contact { text-align: right; }
.header-phone {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.header-phone:hover { color: var(--accent-light); }
.header-hours { font-size: 0.75rem; color: #b2d8cc; margin-top: 0.1rem; }

.site-nav {
  background: rgba(0,0,0,0.18);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0 2rem;
  gap: 0;
}
.site-nav ul li a {
  display: block;
  padding: 0.55rem 0.9rem;
  color: #d4ede7;
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.15s;
}
.site-nav ul li a:hover { color: #fff; }

/* ── HERO ── */
.hero {
  background: var(--accent-light);
  border-bottom: 3px solid var(--border);
  padding: 3rem 2rem;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}
.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 1rem;
}
.hero .lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.hero .cta-phone {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  text-decoration: none;
  border-radius: 2px;
  margin-bottom: 0.5rem;
}
.hero .cta-phone:hover { background: #0e5240; color: #fff; }
.hero .cta-note { font-size: 0.8rem; color: var(--text-muted); }

/* ── QUOTE FORM ── */
.quote-form-card {
  background: #fff;
  border: 2px solid var(--border);
  border-top: 4px solid var(--accent);
  padding: 1.5rem;
  border-radius: 2px;
}
.quote-form-card h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.quote-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
  margin-top: 0.75rem;
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--font-stack);
  font-size: 0.9rem;
  color: var(--text);
  background: #fff;
}
.quote-form textarea { height: 80px; resize: vertical; }
.quote-form button {
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.quote-form button:hover { background: #228059; }
.quote-form .callback-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-align: center;
}

/* ── MAIN CONTENT ── */
.page-main { max-width: 1100px; margin: 0 auto; padding: 2.5rem 2rem; }
.content-grid { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; align-items: start; }
.content-body h2 { font-size: 1.35rem; color: var(--primary); margin: 1.75rem 0 0.6rem; font-weight: 700; }
.content-body h3 { font-size: 1.1rem; color: var(--primary); margin: 1.25rem 0 0.4rem; font-weight: 700; }
.content-body p { margin-bottom: 1rem; }
.content-body ul { margin: 0.75rem 0 1rem 1.5rem; }
.content-body ul li { margin-bottom: 0.4rem; }
.content-body table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.9rem; }
.content-body table th { background: var(--primary); color: #fff; padding: 0.55rem 0.75rem; text-align: left; }
.content-body table td { padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--border); }
.content-body table tr:nth-child(even) td { background: var(--accent-light); }

/* ── SIDEBAR ── */
.sidebar-card {
  background: var(--accent-light);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  border-radius: 2px;
}
.sidebar-card h3 { font-size: 0.9rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.75rem; }
.sidebar-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.sidebar-card a.btn {
  display: block;
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 0.6rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 2px;
  margin-top: 0.75rem;
}
.sidebar-card a.btn:hover { background: #0e5240; }
.sidebar-nav ul { list-style: none; }
.sidebar-nav ul li { border-bottom: 1px solid var(--border); }
.sidebar-nav ul li a { display: block; padding: 0.45rem 0; font-size: 0.88rem; text-decoration: none; color: var(--primary); }
.sidebar-nav ul li a:hover { color: var(--accent); }

/* ── SERVICE GRID ── */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 1.5rem 0; }
.service-card {
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  padding: 1.25rem;
  border-radius: 2px;
}
.service-card h3 { font-size: 1rem; color: var(--primary); margin-bottom: 0.5rem; }
.service-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.service-card a { font-size: 0.85rem; font-weight: 700; color: var(--accent); text-decoration: none; }
.service-card a:hover { text-decoration: underline; }

/* ── TOWN GRID ── */
.town-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin: 1.25rem 0; }
.town-grid a {
  display: block;
  padding: 0.6rem 0.75rem;
  background: var(--accent-light);
  border: 1px solid var(--border);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  border-radius: 2px;
  text-align: center;
}
.town-grid a:hover { background: var(--border); }

/* ── CREDENTIAL STRIP ── */
.credential-strip {
  background: var(--primary);
  color: #fff;
  padding: 1.25rem 2rem;
}
.credential-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.credential-item { text-align: center; }
.credential-item .num { font-size: 1.6rem; font-weight: 700; color: #fff; }
.credential-item .label { font-size: 0.75rem; color: #b2d8cc; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── FOOTER ── */
.site-footer {
  background: #0a1f18;
  color: #c8ddd6;
  padding: 2.5rem 2rem 1.5rem;
  margin-top: 3rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.footer-col h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.footer-col p, .footer-col li { font-size: 0.83rem; color: #a8c4bc; line-height: 1.6; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.3rem; }
.footer-col ul li a { color: #a8c4bc; text-decoration: none; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid #1e3d30;
  padding-top: 1rem;
  font-size: 0.78rem;
  color: #6a9a8a;
}

/* ── BREADCRUMB ── */
.breadcrumb { padding: 0.65rem 2rem; background: #f5faf8; border-bottom: 1px solid var(--border); font-size: 0.82rem; }
.breadcrumb-inner { max-width: 1100px; margin: 0 auto; }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text-muted); }

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 2rem 2rem;
}
.page-hero-inner { max-width: 1100px; margin: 0 auto; }
.page-hero h1 { font-size: 1.6rem; font-weight: 700; margin-bottom: 0.35rem; }
.page-hero .subtitle { font-size: 0.9rem; color: #b2d8cc; }

/* ── PROTOCOL STEPS ── */
.protocol-steps { counter-reset: step; margin: 1.5rem 0; }
.protocol-step { display: flex; gap: 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.protocol-step:last-child { border-bottom: none; }
.step-num {
  counter-increment: step;
  min-width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}
.step-num::before { content: counter(step); }
.step-body h3 { font-size: 1rem; margin-bottom: 0.3rem; color: var(--primary); }
.step-body p { font-size: 0.9rem; color: var(--text-muted); }

/* ── CTA BLOCK ── */
.cta-block {
  background: var(--accent-light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 2px;
}
.cta-block h3 { color: var(--primary); margin-bottom: 0.5rem; }
.cta-block p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.75rem; }
.cta-block a.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 2px;
  margin-right: 0.75rem;
}
.cta-block a.btn-primary:hover { background: #0e5240; }
.cta-block a.btn-secondary {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: underline;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner, .content-grid, .footer-inner { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .town-grid { grid-template-columns: repeat(2, 1fr); }
  .credential-strip-inner { gap: 1.5rem; justify-content: center; }
  .header-top { flex-direction: column; align-items: flex-start; }
  .header-contact { text-align: left; }
}
@media (max-width: 600px) {
  .service-grid, .town-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.5rem; }
  .page-hero h1 { font-size: 1.3rem; }
  .site-nav ul { padding: 0 1rem; }
  .page-main { padding: 1.5rem 1rem; }
}
