/* Oak Park Furnace Repair Specialists - Prairie Amber & Deep Charcoal Design System */
:root {
  --opr-bg: #f7f4ef;
  --opr-surface: #ffffff;
  --opr-surface-alt: #efeae1;
  --opr-ink: #1b2430;
  --opr-ink-muted: #424e5e;
  --opr-accent: #c85a17;
  --opr-accent-hover: #a6470e;
  --opr-pine: #245c4d;
  --opr-border: #dcd5c9;
  --opr-focus: #0b5fff;
  --opr-font-display: Georgia, 'Times New Roman', serif;
  --opr-font-body: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --opr-radius: 10px;
  --opr-shadow: 0 6px 24px rgba(27, 36, 48, 0.08);
  --opr-max: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--opr-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--opr-ink);
  background: var(--opr-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--opr-accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:hover { color: var(--opr-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--opr-focus);
  outline-offset: 2px;
}

img, svg { max-width: 100%; height: auto; display: block; }

.opr-container {
  width: 100%;
  max-width: var(--opr-max);
  margin: 0 auto;
  padding: 0 20px;
}

.opr-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--opr-ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.opr-skip:focus { left: 12px; top: 12px; }

/* Top Utility & Header */
.opr-topbar {
  background: var(--opr-ink);
  color: #f7f4ef;
  font-size: 0.875rem;
  padding: 8px 0;
}
.opr-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.opr-topbar a { color: #ffd4b3; text-decoration: none; font-weight: 600; }

.opr-header {
  background: var(--opr-surface);
  border-bottom: 1px solid var(--opr-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.opr-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.opr-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--opr-ink);
  font-family: var(--opr-font-display);
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.2;
}
.opr-brand img { width: 38px; height: 38px; }

.opr-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.opr-nav a {
  color: var(--opr-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.opr-nav a:hover { color: var(--opr-accent-hover); }

.opr-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--opr-accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: 7px;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.15s ease;
}
.opr-cta-btn:hover { background: var(--opr-accent-hover); color: #ffffff; }
.opr-cta-btn--outline {
  background: transparent;
  color: var(--opr-ink);
  border-color: var(--opr-ink);
}
.opr-cta-btn--outline:hover { background: var(--opr-ink); color: #ffffff; }

.opr-menu-btn {
  display: none;
  background: var(--opr-surface-alt);
  border: 1px solid var(--opr-border);
  color: var(--opr-ink);
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
}

/* Breadcrumbs */
.opr-breadcrumbs {
  padding: 14px 0 4px;
  font-size: 0.875rem;
  color: var(--opr-ink-muted);
}
.opr-breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.opr-breadcrumbs li::after { content: "›"; margin-left: 6px; color: var(--opr-ink-muted); }
.opr-breadcrumbs li:last-child::after { content: ""; }

/* Hero */
.opr-hero {
  padding: 44px 0 48px;
  background: linear-gradient(135deg, #ffffff 0%, #f3ede3 100%);
  border-bottom: 1px solid var(--opr-border);
}
.opr-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 32px;
  align-items: center;
}
.opr-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--opr-pine);
  background: #e3efe9;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
h1, h2, h3 {
  font-family: var(--opr-font-display);
  color: var(--opr-ink);
  line-height: 1.24;
  margin-top: 0;
}
h1 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); margin-bottom: 16px; }
h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 14px; }
h3 { font-size: 1.18rem; margin-bottom: 10px; }

.opr-lead {
  font-size: 1.1rem;
  color: var(--opr-ink-muted);
  margin-bottom: 22px;
}
.opr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.opr-disclosure-inline {
  font-size: 0.85rem;
  color: var(--opr-ink-muted);
  margin: 0;
}

.opr-dispatch-card {
  background: var(--opr-ink);
  color: #f7f4ef;
  padding: 24px;
  border-radius: var(--opr-radius);
  box-shadow: var(--opr-shadow);
}
.opr-dispatch-card h2 { color: #ffffff; font-size: 1.28rem; margin-bottom: 12px; }
.opr-dispatch-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.opr-dispatch-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  font-size: 0.94rem;
}
.opr-dispatch-list li:last-child { border-bottom: none; }

/* Sections & Cards */
.opr-section { padding: 48px 0; }
.opr-section--alt {
  background: var(--opr-surface);
  border-top: 1px solid var(--opr-border);
  border-bottom: 1px solid var(--opr-border);
}
.opr-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.opr-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.opr-card {
  background: var(--opr-surface);
  border: 1px solid var(--opr-border);
  border-radius: var(--opr-radius);
  padding: 22px;
  box-shadow: 0 2px 10px rgba(27, 36, 48, 0.04);
}
.opr-card h3 { margin-bottom: 8px; }
.opr-card p:last-child { margin-bottom: 0; }

/* Snippet Answer Box */
.opr-answer-box {
  background: #ffffff;
  border-left: 4px solid var(--opr-accent);
  padding: 18px 20px;
  border-radius: 0 var(--opr-radius) var(--opr-radius) 0;
  margin: 20px 0 26px;
  box-shadow: 0 2px 10px rgba(27, 36, 48, 0.04);
}
.opr-answer-box strong { color: var(--opr-ink); }

/* Tables */
.opr-table-wrap { overflow-x: auto; margin: 20px 0; }
table.opr-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--opr-surface);
  border: 1px solid var(--opr-border);
}
table.opr-table th, table.opr-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--opr-border);
  text-align: left;
  font-size: 0.94rem;
}
table.opr-table th {
  background: var(--opr-ink);
  color: #ffffff;
  font-weight: 600;
}

/* Calculator & Forms */
.opr-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.opr-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.opr-field label { font-weight: 600; font-size: 0.92rem; }
.opr-field select, .opr-field input, .opr-field textarea {
  padding: 10px 12px;
  border: 1px solid #b9b0a1;
  border-radius: 6px;
  font: inherit;
  background: #ffffff;
  color: var(--opr-ink);
}
.opr-calc-result {
  background: var(--opr-surface-alt);
  border: 1px solid var(--opr-border);
  border-radius: var(--opr-radius);
  padding: 20px;
  margin-top: 18px;
}
.opr-calc-price {
  font-family: var(--opr-font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--opr-accent-hover);
  margin: 6px 0;
}

/* FAQ Accordion */
.opr-faq-item {
  background: var(--opr-surface);
  border: 1px solid var(--opr-border);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.opr-faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 16px 18px;
  font-family: var(--opr-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--opr-ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.opr-faq-a {
  padding: 0 18px 16px;
  color: var(--opr-ink-muted);
}

/* Article / Blog Layout */
.opr-article-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: start;
}
.opr-article-body {
  background: var(--opr-surface);
  border: 1px solid var(--opr-border);
  border-radius: var(--opr-radius);
  padding: 30px;
}
.opr-sidebar-box {
  background: var(--opr-surface);
  border: 1px solid var(--opr-border);
  border-radius: var(--opr-radius);
  padding: 20px;
  margin-bottom: 20px;
}

/* Map Frame */
.opr-map-frame {
  width: 100%;
  height: 340px;
  border: 1px solid var(--opr-border);
  border-radius: var(--opr-radius);
}

/* Footer */
.opr-footer {
  background: var(--opr-ink);
  color: #e6e0d6;
  padding: 44px 0 84px;
  margin-top: 32px;
}
.opr-footer a { color: #ffd4b3; }
.opr-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}
.opr-footer h3 { color: #ffffff; font-size: 1.05rem; margin-bottom: 12px; }
.opr-footer ul { list-style: none; padding: 0; margin: 0; }
.opr-footer li { margin-bottom: 8px; font-size: 0.92rem; }
.opr-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.16);
  margin-top: 28px;
  padding-top: 18px;
  font-size: 0.84rem;
  color: #c8c0b4;
}

/* Sticky Mobile Call Bar */
.opr-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--opr-ink);
  padding: 10px 16px;
  z-index: 200;
  border-top: 2px solid var(--opr-accent);
}
.opr-mobile-bar a {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--opr-accent);
  color: #ffffff;
  font-weight: 700;
  padding: 12px;
  border-radius: 6px;
  text-decoration: none;
}

@media (max-width: 900px) {
  .opr-hero-grid, .opr-grid-3, .opr-grid-2, .opr-article-wrap, .opr-footer-grid, .opr-form-grid {
    grid-template-columns: 1fr;
  }
  .opr-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--opr-surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    border-bottom: 1px solid var(--opr-border);
  }
  .opr-nav.is-open { display: flex; }
  .opr-menu-btn { display: inline-block; }
  .opr-mobile-bar { display: block; }
}
