/* DuPage Hearth & Furnace - Custom Stylesheet */
:root {
  --dhf-pine: #14362E;
  --dhf-pine-dark: #0D241E;
  --dhf-hearth: #C4551A;
  --dhf-hearth-hover: #A64310;
  --dhf-cream: #FAF8F4;
  --dhf-stone: #EFECE5;
  --dhf-white: #FFFFFF;
  --dhf-ink: #1C211F;
  --dhf-muted: #4E5954;
  --dhf-border: #D8D2C5;
  --dhf-radius: 10px;
  --dhf-shadow: 0 6px 20px rgba(20, 54, 46, 0.08);
  --dhf-font-serif: Georgia, "Times New Roman", serif;
  --dhf-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--dhf-font-sans);
  color: var(--dhf-ink);
  background: var(--dhf-cream);
  line-height: 1.65;
  font-size: 16px;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--dhf-pine); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--dhf-hearth); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--dhf-hearth);
  outline-offset: 2px;
}
.dhf-wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.dhf-skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--dhf-pine); color: #fff; padding: 10px 16px; z-index: 999;
}
.dhf-skip:focus { left: 10px; top: 10px; }

/* Header */
.dhf-topbar {
  background: var(--dhf-pine-dark); color: #EAE6DF; font-size: 0.875rem; padding: 8px 0;
}
.dhf-topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.dhf-header {
  background: var(--dhf-white); border-bottom: 1px solid var(--dhf-border); position: sticky; top: 0; z-index: 100;
}
.dhf-nav-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.dhf-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--dhf-pine); font-family: var(--dhf-font-serif); font-weight: 700; font-size: 1.2rem; }
.dhf-nav { display: flex; align-items: center; gap: 22px; }
.dhf-nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--dhf-ink); }
.dhf-nav a:hover { color: var(--dhf-hearth); }
.dhf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--dhf-hearth); color: #fff; font-weight: 700; text-decoration: none;
  padding: 12px 22px; border-radius: var(--dhf-radius); border: none; cursor: pointer; font-size: 1rem;
  transition: background 0.15s ease;
}
.dhf-btn:hover { background: var(--dhf-hearth-hover); color: #fff; }
.dhf-btn-outline {
  background: transparent; color: var(--dhf-pine); border: 2px solid var(--dhf-pine);
}
.dhf-btn-outline:hover { background: var(--dhf-pine); color: #fff; }
.dhf-menu-btn {
  display: none; background: var(--dhf-stone); border: 1px solid var(--dhf-border);
  padding: 8px 12px; border-radius: 6px; font-weight: 700; cursor: pointer; color: var(--dhf-pine);
}

/* Hero */
.dhf-hero {
  background: linear-gradient(135deg, var(--dhf-pine) 0%, var(--dhf-pine-dark) 100%);
  color: #fff; padding: 54px 0;
}
.dhf-hero-grid { display: grid; grid-template-columns: 1.35fr 0.95fr; gap: 36px; align-items: center; }
.dhf-eyebrow {
  display: inline-block; background: rgba(255,255,255,0.12); color: #F7D4BC;
  padding: 5px 12px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.03em; margin-bottom: 14px;
}
.dhf-hero h1 { font-family: var(--dhf-font-serif); font-size: clamp(2rem, 4vw, 2.85rem); line-height: 1.18; margin: 0 0 16px; color: #fff; }
.dhf-hero p { font-size: 1.08rem; color: #E8ECEA; margin: 0 0 22px; }
.dhf-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dhf-hero-card {
  background: var(--dhf-white); color: var(--dhf-ink); border-radius: 14px; padding: 26px; box-shadow: var(--dhf-shadow);
}
.dhf-hero-card h2 { font-family: var(--dhf-font-serif); font-size: 1.3rem; margin: 0 0 12px; color: var(--dhf-pine); }
.dhf-check-list { list-style: none; padding: 0; margin: 0 0 18px; }
.dhf-check-list li { padding: 6px 0 6px 26px; position: relative; font-size: 0.96rem; }
.dhf-check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--dhf-hearth); font-weight: 800; }

/* Sections */
.dhf-section { padding: 52px 0; }
.dhf-section-alt { background: var(--dhf-stone); }
.dhf-section h2, .dhf-article h2 { font-family: var(--dhf-font-serif); font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--dhf-pine); margin: 0 0 14px; line-height: 1.25; }
.dhf-section h3, .dhf-article h3 { font-family: var(--dhf-font-serif); font-size: 1.25rem; color: var(--dhf-pine-dark); margin: 22px 0 10px; }
.dhf-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; }
.dhf-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 24px; }
.dhf-card {
  background: var(--dhf-white); border: 1px solid var(--dhf-border); border-radius: var(--dhf-radius);
  padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.dhf-card h3 { margin-top: 0; font-size: 1.18rem; color: var(--dhf-pine); }
.dhf-snippet-box {
  background: var(--dhf-white); border-left: 5px solid var(--dhf-hearth); padding: 18px 22px;
  border-radius: 0 var(--dhf-radius) var(--dhf-radius) 0; margin: 20px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.dhf-callout {
  background: var(--dhf-pine); color: #fff; padding: 32px; border-radius: 14px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin: 32px 0;
}
.dhf-callout h2, .dhf-callout h3 { color: #fff; margin: 0 0 6px; }
.dhf-callout p { margin: 0; color: #E2E8E5; }

/* Breadcrumbs */
.dhf-bread { font-size: 0.9rem; color: var(--dhf-muted); padding: 14px 0 0; }
.dhf-bread a { color: var(--dhf-pine); }

/* Tables */
.dhf-table-wrap { overflow-x: auto; margin: 20px 0; }
table.dhf-table { width: 100%; border-collapse: collapse; background: var(--dhf-white); border-radius: var(--dhf-radius); overflow: hidden; }
table.dhf-table th { background: var(--dhf-pine); color: #fff; text-align: left; padding: 12px 14px; font-size: 0.95rem; }
table.dhf-table td { padding: 12px 14px; border-bottom: 1px solid var(--dhf-border); font-size: 0.95rem; }
table.dhf-table tr:last-child td { border-bottom: none; }

/* FAQ Accordion */
.dhf-faq details {
  background: var(--dhf-white); border: 1px solid var(--dhf-border); border-radius: var(--dhf-radius);
  padding: 16px 20px; margin-bottom: 12px;
}
.dhf-faq summary { font-weight: 700; cursor: pointer; color: var(--dhf-pine); font-size: 1.03rem; }
.dhf-faq details p { margin: 12px 0 0; }

/* Brands & Map */
.dhf-brand-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.dhf-pill {
  background: var(--dhf-white); border: 1px solid var(--dhf-border); padding: 8px 16px;
  border-radius: 999px; font-weight: 600; font-size: 0.92rem; color: var(--dhf-pine-dark);
}
.dhf-map-frame { width: 100%; height: 340px; border: 1px solid var(--dhf-border); border-radius: var(--dhf-radius); }

/* Article Layout */
.dhf-article-grid { display: grid; grid-template-columns: 1fr 310px; gap: 36px; align-items: start; padding: 28px 0 56px; }
.dhf-sidebar { position: sticky; top: 90px; }
.dhf-sidebar-box { background: var(--dhf-white); border: 1px solid var(--dhf-border); border-radius: var(--dhf-radius); padding: 22px; margin-bottom: 20px; }

/* Form & Calculator */
.dhf-form-group { margin-bottom: 16px; }
.dhf-form-group label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--dhf-pine-dark); }
.dhf-form-group input, .dhf-form-group select, .dhf-form-group textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--dhf-border); border-radius: 8px;
  font-size: 1rem; font-family: inherit; background: var(--dhf-white);
}
.dhf-calc-result {
  background: var(--dhf-stone); border: 2px solid var(--dhf-pine); border-radius: var(--dhf-radius);
  padding: 20px; margin-top: 20px;
}

/* Footer */
.dhf-footer { background: var(--dhf-pine-dark); color: #DDE3E0; padding: 48px 0 90px; font-size: 0.94rem; }
.dhf-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.dhf-footer h3 { color: #fff; font-family: var(--dhf-font-serif); font-size: 1.1rem; margin: 0 0 12px; }
.dhf-footer ul { list-style: none; padding: 0; margin: 0; }
.dhf-footer li { margin-bottom: 8px; }
.dhf-footer a { color: #E8ECEA; text-decoration: none; }
.dhf-footer a:hover { color: #F7D4BC; text-decoration: underline; }
.dhf-footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 30px; padding-top: 20px; font-size: 0.86rem; color: #B8C2BD; }

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

@media (max-width: 900px) {
  .dhf-hero-grid, .dhf-grid-3, .dhf-grid-2, .dhf-article-grid, .dhf-footer-grid { grid-template-columns: 1fr; }
  .dhf-sidebar { position: static; }
  .dhf-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 18px 20px; border-bottom: 1px solid var(--dhf-border); align-items: flex-start; }
  .dhf-nav.is-open { display: flex; }
  .dhf-menu-btn { display: inline-block; }
  .dhf-sticky-call { display: block; }
}
