/* Hopkins Commercial Cleaning — Theme A: Direct & Operational */
/* Colors */
:root {
  --primary: #0d2b45;
  --accent: #e85c2a;
  --accent-light: #fdf0eb;
  --bg: #f8f8f6;
  --text: #1e1e1e;
  --text-muted: #555555;
  --border: #d0ccc4;
  --white: #ffffff;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: underline; }
a:hover { color: var(--primary); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
  line-height: 1.2;
  color: var(--primary);
}
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.25rem, 3vw, 1.75rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.4rem; margin-bottom: 1rem; }
li { margin-bottom: 0.35rem; }

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

/* Header */
.site-header {
  background: #2b2b2b;
  color: var(--white);
  padding: 0;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.brand-name {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand-name:hover { color: var(--accent); }
.brand-strapline {
  font-size: 0.78rem;
  color: #aaaaaa;
  letter-spacing: 0.02em;
}
.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}
.header-phone {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.header-phone:hover { color: #ffffff; }
.header-hours {
  font-size: 0.75rem;
  color: #aaaaaa;
}

/* Nav */
.site-nav {
  background: var(--primary);
}
.nav-inner {
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  overflow-x: auto;
  gap: 0;
}
.nav-inner a {
  display: block;
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: bold;
  padding: 0.65rem 0.85rem;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: border-color 0.15s, background 0.15s;
}
.nav-inner a:hover,
.nav-inner a.active {
  border-bottom-color: var(--accent);
  background: rgba(255,255,255,0.05);
  color: var(--white);
}

/* Hero / Above Fold */
.hero {
  background: var(--primary);
  color: var(--white);
  padding: 3rem 1.25rem 2.5rem;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.hero-sub {
  font-size: 1.05rem;
  color: #c8d8e8;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.hero-proof {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.hero-proof-item {
  display: flex;
  flex-direction: column;
}
.hero-proof-item strong {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
}
.hero-proof-item span {
  font-size: 0.78rem;
  color: #9ab0c6;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero-cta-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Quote Form Card */
.quote-form-card {
  background: var(--white);
  padding: 1.5rem;
  border-top: 4px solid var(--accent);
}
.quote-form-card h2 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.form-row { margin-bottom: 0.75rem; }
.form-row label {
  display: block;
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  appearance: none;
}
.form-row textarea { height: 80px; resize: vertical; }
.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
.form-status {
  font-size: 0.85rem;
  margin-top: 0.75rem;
  padding: 0.6rem 0.8rem;
  border-radius: 4px;
  display: none;
}
.form-status:empty { display: none; }
.form-status:not(:empty) { display: block; }
.form-status-success {
  background: #e6f4ea;
  color: #1e6b34;
  border: 1px solid #b7dfc3;
}
.form-status-error {
  background: #fdeceb;
  color: #a4291f;
  border: 1px solid #f3c2bd;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background 0.15s;
  border-radius: 0;
}
.btn-primary:hover { background: #c94b1c; color: var(--white); }
.btn-primary:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.btn-primary-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
}
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  padding: 0.65rem 1.3rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 0;
  transition: border-color 0.15s, background 0.15s;
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.08); color: var(--white); }

/* Page sections */
.section { padding: 3rem 1.25rem; }
.section-alt { background: var(--white); }
.section-dark { background: var(--primary); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-accent { background: var(--accent-light); border-top: 3px solid var(--accent); border-bottom: 3px solid var(--accent); }

.section-header { margin-bottom: 2rem; }
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.section-dark .section-label { color: #e0a888; }

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: var(--white);
  border-left: 4px solid var(--accent);
  padding: 1.4rem;
}
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { font-size: 0.95rem; color: var(--text-muted); }
.service-card a.card-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: var(--accent);
}
.service-card a.card-link:hover { text-decoration: underline; }

/* Town grid */
.town-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}
.town-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: bold;
  transition: border-color 0.15s, background 0.15s;
}
.town-card:hover { border-color: var(--accent); background: var(--accent-light); color: var(--primary); }
.town-card::before { content: "→"; color: var(--accent); font-size: 0.8rem; }

/* Data table */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th {
  background: var(--primary);
  color: var(--white);
  text-align: left;
  padding: 0.65rem 0.85rem;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}
.data-table td { padding: 0.6rem 0.85rem; border-bottom: 1px solid var(--border); }
.data-table tr:nth-child(even) td { background: var(--bg); }
.data-table tr:last-child td { border-bottom: none; }

/* Process steps */
.process-steps { display: flex; flex-direction: column; gap: 1.5rem; }
.process-step { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-num {
  background: var(--accent);
  color: var(--white);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-body h3 { margin-bottom: 0.3rem; }
.step-body p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 0; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
.faq-a { font-size: 0.95rem; color: var(--text-muted); }

/* Inline CTA */
.inline-cta {
  background: var(--primary);
  color: var(--white);
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.inline-cta p { color: #c8d8e8; margin: 0; }
.inline-cta h3 { color: var(--white); margin-bottom: 0.25rem; }

/* Breadcrumb */
.breadcrumb {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.6rem 1.25rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }

/* Interior hero (non-home pages) */
.page-hero {
  background: var(--primary);
  color: var(--white);
  padding: 2.25rem 1.25rem 2rem;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.4rem; }
.page-hero p { color: #c8d8e8; margin: 0; font-size: 0.95rem; }

/* Proof bar */
.proof-bar {
  background: #1e3d57;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.75rem 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}
.proof-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #c8d8e8;
}
.proof-bar-item strong { color: var(--white); }

/* Two-col layout */
.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.two-col-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Sidebar card */
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  padding: 1.25rem;
}
.sidebar-card h3 { font-size: 1rem; margin-bottom: 0.75rem; }

/* Footer */
.site-footer {
  background: #1a1a1a;
  color: #aaaaaa;
  padding: 2.5rem 1.25rem 1.25rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #333;
}
.footer-brand { color: var(--white); font-size: 1rem; font-family: "Arial Black", Arial, sans-serif; font-weight: 900; margin-bottom: 0.5rem; }
.footer-strapline { font-size: 0.78rem; color: #888; margin-bottom: 0.75rem; }
.footer-contact a { color: #c8d8e8; text-decoration: none; display: block; font-size: 0.9rem; margin-bottom: 0.25rem; }
.footer-contact a:hover { color: var(--accent); }
.footer-col h4 { color: var(--white); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.3rem; }
.footer-col ul li a { color: #888; text-decoration: none; font-size: 0.85rem; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1100px;
  margin: 1rem auto 0;
  font-size: 0.75rem;
  color: #555;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Quote Wizard */
.wiz-progress {
  margin-bottom: 1.25rem;
}
.wiz-progress-bar {
  height: 6px;
  background: var(--border);
  display: block;
}
.wiz-progress-fill {
  display: block;
  height: 100%;
  background: var(--accent);
  transition: width 0.2s ease;
}
.wiz-progress-label {
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 0.5rem;
}
.wiz-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.wiz-legend {
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--primary);
  padding: 0;
  margin-bottom: 0.5rem;
}
.wiz-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.wiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.wiz-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  font-size: 0.95rem;
  transition: background-color 0.15s, border-color 0.15s;
}
.wiz-option:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}
.wiz-option.is-selected {
  border-color: var(--accent);
  background: var(--accent-light);
  font-weight: bold;
}
.wiz-option-input {
  margin: 0.2rem 0 0 0;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.wiz-option:focus-within {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.wiz-slot {
  border-left: 4px solid var(--accent);
  padding-left: 0.9rem;
  margin-bottom: 1.25rem;
}
.wiz-slot-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.wiz-slot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.wiz-review-heading {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.wiz-review-card {
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  padding: 1rem;
  margin-bottom: 1rem;
}
.wiz-review-card h4 {
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}
.wiz-review-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 0.4rem 1rem;
  font-size: 0.9rem;
  margin: 0;
}
.wiz-review-list dt {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.wiz-review-list dd {
  margin: 0;
  color: var(--text);
  font-weight: bold;
  overflow-wrap: anywhere;
}
.wiz-terms {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  cursor: pointer;
}
.wiz-terms input {
  margin: 0.15rem 0 0 0;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.wiz-nav {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
/* `display` on a class beats the bare `hidden` attribute, so restate it. */
.wiz-nav[hidden],
[hidden] {
  display: none !important;
}
.wiz-nav .btn-primary { flex: 1; }
.btn-back {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 0;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.btn-back:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.wiz-nav button[disabled] {
  opacity: 0.6;
  cursor: default;
}
.wiz-done h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.wiz-done p {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}
.wiz-done-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.9rem;
}
.wiz-done-list li {
  border-left: 4px solid var(--accent);
  padding: 0.4rem 0 0.4rem 0.75rem;
  margin-bottom: 0.4rem;
  background: var(--bg);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
}

/* Responsive */
@media (max-width: 800px) {
  .hero .container { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .two-col-equal { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .hero { padding: 2rem 1rem 1.5rem; }
  .section { padding: 2rem 1rem; }
  .proof-bar { gap: 1rem; }
  .header-top { flex-direction: column; align-items: flex-start; }
  .header-contact { align-items: flex-start; }
  .wiz-slot-grid { grid-template-columns: 1fr; }
  .wiz-review-list { grid-template-columns: 1fr; gap: 0.15rem; }
  .wiz-review-list dd { margin-bottom: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
