/* Shakopee Medical Office Cleaning — Theme C: Technical & Compliance-Led */
/* Primary: #0a3d2e | Accent: #2a9d6f | Background: #ffffff | Text: #1a1a1a */

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

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

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); line-height: 1.7; color: var(--text); background: var(--bg); }

/* UTILITY */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* HEADER */
header { background: var(--primary); color: #fff; }
.header-top { background: #072e22; padding: 6px 0; font-size: 0.8rem; }
.header-top .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.header-strapline { color: #a8d5c5; letter-spacing: 0.04em; }
.header-contact-strip { display: flex; gap: 20px; }
.header-contact-strip a { color: #fff; text-decoration: none; font-weight: 700; }
.header-contact-strip a:hover { color: #7ecdb5; }
.header-main { padding: 18px 0; }
.header-main .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.site-name { font-size: 1.3rem; font-weight: 700; color: #fff; text-decoration: none; letter-spacing: -0.01em; }
.site-name span { color: #7ecdb5; }
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
nav a { color: #d0ece4; text-decoration: none; font-size: 0.9rem; padding: 6px 10px; border-radius: 3px; transition: background 0.15s; }
nav a:hover, nav a[aria-current] { background: rgba(255,255,255,0.12); color: #fff; }
.nav-cta { background: var(--accent) !important; color: #fff !important; font-weight: 700; }
.nav-cta:hover { background: #238a5e !important; }

/* HERO */
.hero { background: var(--primary); color: #fff; padding: 64px 0 56px; border-bottom: 3px solid var(--accent); }
.hero-inner { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.hero h1 { font-size: 2.1rem; line-height: 1.2; margin-bottom: 16px; color: #fff; }
.hero h1 em { font-style: normal; color: #7ecdb5; }
.hero-sub { font-size: 1.05rem; color: #a8d5c5; margin-bottom: 24px; }
.hero-proof { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.proof-item { border-left: 3px solid var(--accent); padding-left: 12px; }
.proof-item strong { display: block; font-size: 1.4rem; color: #fff; line-height: 1; }
.proof-item span { font-size: 0.8rem; color: #a8d5c5; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-phone-block { margin-bottom: 20px; }
.hero-phone-block p { font-size: 0.85rem; color: #a8d5c5; margin-bottom: 4px; }
.hero-phone { font-size: 1.8rem; font-weight: 700; color: #fff; text-decoration: none; display: block; }
.hero-phone:hover { color: #7ecdb5; }
.hours-note { font-size: 0.8rem; color: #7ecdb5; margin-top: 4px; }

/* QUOTE FORM */
.quote-form-card { background: #fff; border-radius: 4px; padding: 28px; border-top: 4px solid var(--accent); }
.quote-form-card h2 { font-size: 1.1rem; color: var(--primary); margin-bottom: 6px; }
.quote-form-card p { font-size: 0.85rem; color: var(--muted); margin-bottom: 20px; }
.quote-form label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; margin-top: 14px; letter-spacing: 0.03em; text-transform: uppercase; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 3px; font-family: var(--font); font-size: 0.9rem; color: var(--text); background: #fff; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.quote-form textarea { height: 80px; resize: vertical; }
.btn-primary { display: block; width: 100%; padding: 14px; background: var(--accent); color: #fff; border: none; font-family: var(--font); font-size: 1rem; font-weight: 700; cursor: pointer; border-radius: 3px; margin-top: 18px; letter-spacing: 0.02em; transition: background 0.15s; }
.btn-primary:hover { background: #238a5e; }
.form-note { font-size: 0.75rem; color: var(--muted); text-align: center; margin-top: 10px; }

/* PAGE CONTENT AREA */
.page-header { background: var(--primary); color: #fff; padding: 40px 0; }
.page-header h1 { font-size: 1.8rem; color: #fff; }
.page-header .breadcrumb { font-size: 0.82rem; color: #a8d5c5; margin-bottom: 10px; }
.page-header .breadcrumb a { color: #7ecdb5; text-decoration: none; }
.page-header .breadcrumb a:hover { text-decoration: underline; }

main { padding: 56px 0; }
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.prose h2 { font-size: 1.35rem; color: var(--primary); margin: 32px 0 12px; padding-bottom: 6px; border-bottom: 2px solid var(--accent-light); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.05rem; color: var(--primary); margin: 22px 0 8px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--primary); }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.9rem; }
.prose table th { background: var(--primary); color: #fff; padding: 10px 14px; text-align: left; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
.prose table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.prose table tr:nth-child(even) td { background: #f5faf8; }

/* SIDEBAR */
.sidebar-card { background: var(--accent-light); border: 1px solid var(--border); border-left: 4px solid var(--accent); padding: 24px; margin-bottom: 24px; border-radius: 0 4px 4px 0; }
.sidebar-card h3 { font-size: 0.95rem; color: var(--primary); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.sidebar-card p, .sidebar-card li { font-size: 0.88rem; color: var(--muted); }
.sidebar-card ul { list-style: none; padding: 0; }
.sidebar-card li { padding: 5px 0; border-bottom: 1px solid var(--border); }
.sidebar-card li:last-child { border-bottom: none; }
.sidebar-card a { color: var(--accent); text-decoration: none; font-size: 0.88rem; font-weight: 700; }
.sidebar-card a:hover { text-decoration: underline; }
.sidebar-phone { font-size: 1.4rem; font-weight: 700; color: var(--primary); display: block; margin: 8px 0 4px; text-decoration: none; }
.sidebar-phone:hover { color: var(--accent); }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0; }
.service-card { border: 1px solid var(--border); border-top: 3px solid var(--accent); padding: 24px; border-radius: 0 0 4px 4px; }
.service-card h3 { font-size: 1rem; color: var(--primary); margin-bottom: 10px; }
.service-card p { font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; }
.service-card a { color: var(--accent); font-size: 0.85rem; font-weight: 700; text-decoration: none; }
.service-card a:hover { text-decoration: underline; }

/* TOWN GRID */
.town-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0; }
.town-link { display: block; padding: 12px 14px; border: 1px solid var(--border); border-radius: 3px; text-decoration: none; color: var(--primary); font-size: 0.9rem; font-weight: 700; background: #f5faf8; transition: border-color 0.15s, background 0.15s; }
.town-link:hover { border-color: var(--accent); background: var(--accent-light); }

/* PROTOCOL STEPS */
.protocol-steps { counter-reset: step; margin: 24px 0; }
.protocol-step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.protocol-step:last-child { border-bottom: none; }
.step-num { counter-increment: step; background: var(--primary); color: #fff; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; margin-top: 2px; }
.step-content h3 { font-size: 1rem; color: var(--primary); margin-bottom: 6px; }
.step-content p { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* COMPLIANCE BADGE */
.compliance-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-light); border: 1px solid var(--border); border-left: 3px solid var(--accent); padding: 8px 14px; font-size: 0.82rem; font-weight: 700; color: var(--primary); letter-spacing: 0.03em; border-radius: 0 3px 3px 0; margin: 4px 4px 4px 0; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item:first-child { padding-top: 0; }
.faq-q { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.faq-a { font-size: 0.9rem; color: var(--muted); }

/* CTA BLOCK */
.cta-block { background: var(--primary); color: #fff; padding: 48px 0; margin: 48px 0 0; }
.cta-block .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.cta-block h2 { font-size: 1.4rem; color: #fff; margin-bottom: 6px; }
.cta-block p { color: #a8d5c5; font-size: 0.92rem; }
.btn-cta { display: inline-block; padding: 14px 28px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; font-size: 1rem; border-radius: 3px; white-space: nowrap; transition: background 0.15s; }
.btn-cta:hover { background: #238a5e; }
.btn-cta-outline { display: inline-block; padding: 13px 28px; border: 2px solid #7ecdb5; color: #7ecdb5; text-decoration: none; font-weight: 700; font-size: 1rem; border-radius: 3px; white-space: nowrap; margin-left: 12px; transition: all 0.15s; }
.btn-cta-outline:hover { background: rgba(255,255,255,0.1); }

/* AREAS SERVED ROW */
.areas-row { background: #f5faf8; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 0; }
.areas-row .container { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.areas-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; margin-right: 8px; white-space: nowrap; }
.areas-row a { font-size: 0.85rem; color: var(--accent); text-decoration: none; }
.areas-row a:hover { text-decoration: underline; }
.areas-row span { color: var(--border); }

/* FOOTER */
footer { background: #072e22; color: #a8d5c5; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand strong { display: block; color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.65; }
.footer-col h4 { color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 7px; }
.footer-col a { color: #a8d5c5; text-decoration: none; font-size: 0.85rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1a5040; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.78rem; }
.footer-phone { color: #fff; font-weight: 700; font-size: 0.95rem; }
.footer-phone a { color: #7ecdb5; text-decoration: none; }
.footer-phone a:hover { text-decoration: underline; }
.footer-years { color: #7ecdb5; font-weight: 700; }

/* INLINE QUOTE FORM (pages without hero form) */
.inline-quote { background: var(--accent-light); border: 1px solid var(--border); padding: 28px; border-radius: 4px; border-top: 4px solid var(--accent); }
.inline-quote h3 { font-size: 1rem; color: var(--primary); margin-bottom: 6px; }
.inline-quote p { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }
.inline-quote label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; margin-top: 12px; text-transform: uppercase; letter-spacing: 0.03em; }
.inline-quote input, .inline-quote select, .inline-quote textarea { width: 100%; padding: 9px 12px; border: 1px solid var(--border); border-radius: 3px; font-family: var(--font); font-size: 0.88rem; }
.inline-quote input:focus, .inline-quote select:focus, .inline-quote textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.inline-quote textarea { height: 70px; resize: vertical; }

/* RESPONSIVE */
@media (max-width: 840px) {
  .hero-inner { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .town-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .hero h1 { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .town-grid { grid-template-columns: repeat(2, 1fr); }
  .header-contact-strip { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* FORM STATUS + ANTI-SPAM */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 0.85rem; line-height: 1.5; margin-top: 14px; padding: 12px 14px; border-radius: 3px; border-left: 4px solid var(--border); background: #f4f7f6; color: var(--text); }
.form-status--pending { border-left-color: var(--muted); color: var(--muted); }
.form-status--success { border-left-color: var(--accent); background: var(--accent-light); color: var(--primary); font-weight: 700; }
.form-status--error { border-left-color: #b3261e; background: #fdeceb; color: #7f1810; }
.btn-primary:disabled { background: #7fae9c; cursor: not-allowed; }
