/* Furnace Repair Pros - Shakopee, MN | Editorial Slate & Copper Design System */
:root {
  --ink: #17212b;
  --ink-muted: #4b5a69;
  --slate-900: #132238;
  --slate-800: #1d3250;
  --copper-600: #c84b31;
  --copper-700: #a63a24;
  --copper-50: #fdf3f0;
  --birch-50: #f7f5f2;
  --birch-100: #edeae4;
  --white: #ffffff;
  --border: #d8d4cc;
  --focus: #2563eb;
  --success: #166534;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(19, 34, 56, 0.08);
  --shadow-md: 0 8px 24px rgba(19, 34, 56, 0.10);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-700); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--slate-900); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--slate-900); color: var(--white);
  padding: 10px 16px; z-index: 9999; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }

/* Top Utility Bar */
.top-strip {
  background: var(--slate-900);
  color: #e2e8f0;
  font-size: 0.875rem;
  padding: 8px 0;
}
.top-strip-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px;
}
.top-strip a { color: #ffffff; font-weight: 700; text-decoration: none; }
.top-strip a:hover { text-decoration: underline; }

/* Header & Nav */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 900;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 16px;
}
.brand-link {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--slate-900); font-weight: 800; font-size: 1.125rem;
}
.brand-sub { display: block; font-size: 0.72rem; font-weight: 600; color: var(--ink-muted); letter-spacing: 0.04em; text-transform: uppercase; }
.nav-toggle {
  display: none; background: var(--birch-50); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 8px 12px; font-weight: 700; color: var(--slate-900); cursor: pointer;
}
.main-nav ul {
  list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 20px;
}
.main-nav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--copper-700); }
.header-cta {
  background: var(--copper-600); color: var(--white) !important;
  padding: 10px 18px; border-radius: var(--radius); font-weight: 700; text-decoration: none !important;
  white-space: nowrap; box-shadow: var(--shadow-sm);
}
.header-cta:hover { background: var(--copper-700); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
  color: var(--white);
  padding: 56px 0 64px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 36px; align-items: center;
}
.eyebrow {
  display: inline-block; background: rgba(200, 75, 49, 0.22); color: #ffd7cc;
  border: 1px solid rgba(255, 215, 204, 0.35);
  padding: 4px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 14px;
}
h1, h2, h3 { font-family: var(--font-serif); line-height: 1.22; color: var(--slate-900); margin-top: 0; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.85rem); margin-bottom: 16px; }
.hero p.lead { font-size: 1.125rem; color: #e2e8f0; margin-bottom: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--copper-600); color: var(--white);
  padding: 14px 24px; border-radius: var(--radius); font-weight: 700; font-size: 1rem;
  text-decoration: none; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--copper-700); color: var(--white); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.5);
  padding: 13px 22px; border-radius: var(--radius); font-weight: 700; text-decoration: none;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--slate-900); border: 1.5px solid var(--slate-900);
  padding: 12px 20px; border-radius: var(--radius); font-weight: 700; text-decoration: none;
}
.btn-outline-dark:hover { background: var(--slate-900); color: var(--white); }

.hero-card {
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-md);
}
.hero-card h2 { font-size: 1.25rem; margin-bottom: 12px; }
.hero-checklist { list-style: none; padding: 0; margin: 0 0 18px; }
.hero-checklist li {
  padding: 7px 0 7px 26px; position: relative; border-bottom: 1px solid var(--birch-100); font-size: 0.95rem;
}
.hero-checklist li::before {
  content: "✓"; position: absolute; left: 0; color: var(--copper-600); font-weight: 800;
}
.disclosure-note { font-size: 0.82rem; color: var(--ink-muted); margin: 10px 0 0; }

/* Breadcrumbs */
.breadcrumbs {
  background: var(--birch-50); border-bottom: 1px solid var(--border);
  padding: 10px 0; font-size: 0.875rem; color: var(--ink-muted);
}
.breadcrumbs a { color: var(--slate-800); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Sections */
.section { padding: 52px 0; }
.section-alt { background: var(--birch-50); }
.section-dark { background: var(--slate-900); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }

.snippet-box {
  background: var(--copper-50); border-left: 4px solid var(--copper-600);
  padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 22px 0 28px;
}
.snippet-box strong { color: var(--slate-900); }

/* Grids & Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; justify-content: space-between;
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { margin-top: 0; color: var(--ink-muted); font-size: 0.96rem; }
.card-link { font-weight: 700; text-decoration: none; display: inline-block; margin-top: 8px; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 0.95rem; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--slate-900); color: var(--white); font-weight: 700; }
tr:nth-child(even) td { background: var(--birch-50); }

/* FAQ Accordion */
.faq-list { margin-top: 20px; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px; background: var(--white); overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: var(--white); border: none;
  padding: 16px 20px; font-size: 1.03rem; font-weight: 700; color: var(--slate-900);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q:hover { background: var(--birch-50); }
.faq-a { padding: 0 20px 18px; color: var(--ink); display: block; }
.faq-a[hidden] { display: none; }

/* Calculator & Forms */
.calc-panel, .contact-panel {
  background: var(--birch-50); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-weight: 700; font-size: 0.92rem; color: var(--slate-900); }
.form-group input, .form-group select, .form-group textarea {
  padding: 11px 12px; border: 1px solid var(--border); border-radius: var(--radius);
  font-family: inherit; font-size: 1rem; background: var(--white);
}
.calc-result {
  background: var(--slate-900); color: var(--white);
  padding: 22px; border-radius: var(--radius); margin-top: 20px;
}
.calc-result .range { font-size: 1.85rem; font-weight: 800; color: #ffd7cc; margin: 6px 0; }

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

/* Footer */
.site-footer {
  background: var(--slate-900); color: #cbd5e1; padding: 48px 0 88px; font-size: 0.92rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: 32px; padding-top: 20px; font-size: 0.84rem; color: #94a3b8;
}

/* Sticky Mobile Call Bar */
.mobile-call-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 950;
  background: var(--copper-600); color: var(--white);
  text-align: center; padding: 14px 16px; font-weight: 800; font-size: 1.05rem;
  text-decoration: none; box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}

@media (max-width: 900px) {
  .hero-grid, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .grid-2, .form-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border); padding: 16px 20px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 12px; }
  .header-cta { display: none; }
  .mobile-call-bar { display: block; }
}
