/* Calumet Region Furnace Repair Co. - Lakefront Steel & Hearth Copper */
:root {
  --steel: #162636;
  --steel-dark: #0e1924;
  --copper: #b8501a;
  --copper-hover: #973f12;
  --sand: #f8f6f2;
  --sand-alt: #efebe3;
  --white: #ffffff;
  --ink: #1c242b;
  --muted: #4b5864;
  --border: #d8d2c7;
  --success: #1b6b43;
  --radius: 8px;
  --shadow: 0 4px 18px rgba(22, 38, 54, 0.08);
  --font-serif: Georgia, 'Times New Roman', Times, serif;
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  font-size: 16px;
}

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

.cr-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--steel); color: var(--white); padding: 10px 16px; z-index: 999;
}
.cr-skip:focus { left: 10px; top: 10px; }

.cr-container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Header */
.cr-topbar {
  background: var(--steel-dark);
  color: #e6ecf2;
  font-size: 0.875rem;
  padding: 7px 0;
}
.cr-topbar-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px;
}
.cr-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.cr-header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 70px;
}
.cr-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--steel); font-weight: 700; font-size: 1.05rem;
  font-family: var(--font-serif);
}
.cr-brand img { width: 38px; height: 38px; flex-shrink: 0; }
.cr-nav { display: flex; align-items: center; gap: 20px; }
.cr-nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem;
}
.cr-nav a:hover { color: var(--copper); }
.cr-nav-cta {
  background: var(--copper); color: var(--white) !important;
  padding: 10px 18px; border-radius: var(--radius); font-weight: 700;
  text-decoration: none !important; white-space: nowrap;
}
.cr-nav-cta:hover { background: var(--copper-hover); }

.cr-menu-btn {
  display: none; background: transparent; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 8px 12px; font-weight: 700; color: var(--steel); cursor: pointer;
}

@media (max-width: 900px) {
  .cr-menu-btn { display: inline-block; }
  .cr-nav {
    display: none; position: absolute; left: 0; right: 0; top: 70px;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 16px 20px; border-bottom: 2px solid var(--steel); gap: 12px;
  }
  .cr-nav.is-open { display: flex; }
}

/* Breadcrumbs */
.cr-breadcrumbs {
  background: var(--sand-alt);
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  padding: 10px 0;
}
.cr-breadcrumbs ol {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px;
}
.cr-breadcrumbs li::after { content: "/"; margin-left: 6px; color: var(--muted); }
.cr-breadcrumbs li:last-child::after { content: ""; }
.cr-breadcrumbs a { color: var(--steel); font-weight: 600; text-decoration: none; }
.cr-breadcrumbs a:hover { text-decoration: underline; }

/* Hero */
.cr-hero {
  background: linear-gradient(135deg, var(--steel-dark) 0%, var(--steel) 100%);
  color: var(--white);
  padding: 56px 0;
  border-bottom: 4px solid var(--copper);
}
.cr-hero-grid {
  display: grid; grid-template-columns: 1.45fr 1fr; gap: 36px; align-items: center;
}
@media (max-width: 860px) { .cr-hero-grid { grid-template-columns: 1fr; } }
.cr-badge {
  display: inline-block; background: rgba(184, 80, 26, 0.22); border: 1px solid #e07b47;
  color: #ffd9c4; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.cr-hero h1 {
  font-family: var(--font-serif); font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  line-height: 1.18; margin: 0 0 16px; color: var(--white);
}
.cr-hero p { font-size: 1.08rem; color: #e2e9f0; margin: 0 0 22px; }
.cr-btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cr-btn-primary {
  display: inline-block; background: var(--copper); color: var(--white);
  padding: 14px 24px; border-radius: var(--radius); font-weight: 700;
  text-decoration: none; font-size: 1.02rem; border: 2px solid var(--copper);
}
.cr-btn-primary:hover { background: var(--copper-hover); border-color: var(--copper-hover); color: var(--white); }
.cr-btn-secondary {
  display: inline-block; background: transparent; color: var(--white);
  padding: 14px 22px; border-radius: var(--radius); font-weight: 700;
  text-decoration: none; border: 2px solid #9ab0c7;
}
.cr-btn-secondary:hover { background: rgba(255,255,255,0.1); color: var(--white); }

.cr-hero-panel {
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); border-top: 4px solid var(--copper);
}
.cr-hero-panel h2 {
  font-family: var(--font-serif); font-size: 1.25rem; margin: 0 0 12px; color: var(--steel);
}
.cr-check-list { list-style: none; padding: 0; margin: 0; }
.cr-check-list li {
  padding: 7px 0 7px 26px; position: relative; border-bottom: 1px solid #eeeae2; font-size: 0.95rem;
}
.cr-check-list li:last-child { border-bottom: none; }
.cr-check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 7px; color: var(--copper); font-weight: 800;
}

/* Sections & Cards */
.cr-section { padding: 48px 0; }
.cr-section-alt { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cr-section h2, .cr-main h2 {
  font-family: var(--font-serif); color: var(--steel);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem); margin: 0 0 14px; line-height: 1.25;
}
.cr-section h3, .cr-main h3 {
  font-family: var(--font-serif); color: var(--steel); font-size: 1.2rem; margin: 22px 0 8px;
}

.cr-snippet-box {
  background: var(--white); border-left: 5px solid var(--copper);
  padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow); margin: 20px 0 28px;
}
.cr-snippet-box strong { color: var(--steel); }

.cr-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cr-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) { .cr-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cr-grid-3, .cr-grid-2 { grid-template-columns: 1fr; } }

.cr-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 2px 10px rgba(22,38,54,0.04);
  display: flex; flex-direction: column; justify-content: space-between;
}
.cr-section-alt .cr-card { background: var(--sand); }
.cr-card h3 { margin-top: 0; font-size: 1.15rem; }
.cr-card p { margin: 0 0 14px; color: var(--muted); font-size: 0.96rem; }

/* Tables */
.cr-table-wrap { overflow-x: auto; margin: 20px 0; }
table.cr-table {
  width: 100%; border-collapse: collapse; background: var(--white);
  border: 1px solid var(--border); font-size: 0.95rem;
}
.cr-table th {
  background: var(--steel); color: var(--white); text-align: left; padding: 12px 14px;
}
.cr-table td {
  padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top;
}
.cr-table tr:nth-child(even) td { background: #faf8f4; }

/* Brands strip */
.cr-brands {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0;
}
.cr-brand-pill {
  background: var(--white); border: 1px solid var(--border); border-radius: 6px;
  padding: 8px 14px; font-weight: 700; color: var(--steel); font-size: 0.92rem;
}

/* FAQ Accordion */
.cr-faq-item {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden;
}
.cr-faq-btn {
  width: 100%; text-align: left; background: var(--white); border: none;
  padding: 16px 20px; font-size: 1.02rem; font-weight: 700; color: var(--steel);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.cr-faq-btn:hover { background: #faf8f4; }
.cr-faq-panel { padding: 0 20px 16px; color: var(--ink); display: none; }
.cr-faq-item.is-open .cr-faq-panel { display: block; }

/* Inner page layout */
.cr-page-layout {
  display: grid; grid-template-columns: 2fr 1fr; gap: 36px; padding: 36px 0 56px;
}
@media (max-width: 880px) { .cr-page-layout { grid-template-columns: 1fr; } }
.cr-main {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; box-shadow: 0 2px 12px rgba(22,38,54,0.04);
}
.cr-main h1 {
  font-family: var(--font-serif); color: var(--steel); font-size: clamp(1.7rem, 3vw, 2.25rem);
  margin: 0 0 14px; line-height: 1.22;
}
.cr-sidebar-box {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; margin-bottom: 22px; box-shadow: 0 2px 10px rgba(22,38,54,0.04);
}
.cr-sidebar-box.cr-cta-box {
  background: var(--steel); color: var(--white); border-color: var(--steel);
}
.cr-sidebar-box.cr-cta-box h3 { color: var(--white); margin-top: 0; }
.cr-sidebar-links { list-style: none; padding: 0; margin: 0; }
.cr-sidebar-links li { padding: 7px 0; border-bottom: 1px solid #eeeae2; font-size: 0.94rem; }
.cr-sidebar-links li:last-child { border-bottom: none; }

/* Calculator & Contact Form */
.cr-form-group { margin-bottom: 16px; }
.cr-form-group label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--steel); }
.cr-form-group input, .cr-form-group select, .cr-form-group textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: 6px;
  font-family: inherit; font-size: 1rem; background: var(--white);
}
.cr-calc-result {
  background: var(--sand); border: 2px solid var(--copper); border-radius: var(--radius);
  padding: 20px; margin-top: 20px;
}
.cr-calc-price {
  font-family: var(--font-serif); font-size: 1.9rem; font-weight: 700; color: var(--steel); margin: 4px 0;
}

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

/* Footer */
.cr-footer {
  background: var(--steel-dark); color: #d3dde6; padding: 48px 0 84px;
  border-top: 4px solid var(--copper); font-size: 0.93rem;
}
.cr-footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px;
}
@media (max-width: 860px) { .cr-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .cr-footer-grid { grid-template-columns: 1fr; } }
.cr-footer h3 { color: var(--white); font-family: var(--font-serif); font-size: 1.05rem; margin: 0 0 12px; }
.cr-footer ul { list-style: none; padding: 0; margin: 0; }
.cr-footer li { margin-bottom: 8px; }
.cr-footer a { color: #e2ecf5; text-decoration: none; }
.cr-footer a:hover { color: #ffba93; text-decoration: underline; }
.cr-footer-bottom {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid #2b4157;
  font-size: 0.85rem; color: #b5c4d2;
}

/* Sticky Mobile Call Bar */
.cr-mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--copper); text-align: center; padding: 12px 16px;
  box-shadow: 0 -3px 12px rgba(0,0,0,0.2);
}
.cr-mobile-bar a {
  color: var(--white); font-weight: 800; font-size: 1.05rem; text-decoration: none; display: block;
}
@media (max-width: 768px) { .cr-mobile-bar { display: block; } }
