/* Quarry Furnace Co. — Design E Midnight Current, extended from the approved
   full-homepage mockup. Every class name from full.html is kept unchanged;
   new classes below extend it for inner pages. Version ?v=1. */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body { font-family: "Trebuchet MS", Verdana, Arial, sans-serif; background: #0f172a; color: #e2e8f0; }
a { color: #67e8f9; }
img { max-width: 100%; height: auto; }
.note { background: #1e293b; color: #cbd5e1; font-size: 13px; text-align: center; padding: 10px 16px; border-bottom: 1px solid #334155; line-height: 1.5; }
.note b { color: #22d3ee; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
/* 1. Utility bar */
.util { background: #020617; color: #94a3b8; font-size: 13px; padding: 8px 22px; display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: center; text-align: center; }
.util a { color: #67e8f9; text-decoration: none; }
/* 2. Header — logo + nav ONLY. No phone button under the nav (owner rule). */
header { text-align: center; padding: 24px 22px 0; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand { font-size: 32px; font-weight: 700; color: #fff; line-height: 1.1; text-align: left; }
.brand small { display: block; font-size: 11px; letter-spacing: 3px; color: #22d3ee; }
nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 26px; padding: 16px 0; margin-top: 18px; border-top: 1px solid #1e293b; border-bottom: 1px solid #1e293b; }
nav a { color: #cbd5e1; text-decoration: none; font-size: 15px; }
nav a:hover { color: #22d3ee; }
.phone-row { padding: 14px 22px 0; text-align: center; }
.phone-row a { display: inline-block; background: #22d3ee; color: #0f172a; font-weight: 700; text-decoration: none; font-size: 17px; padding: 10px 22px; border-radius: 999px; }
/* Dropdowns: links never wrap; hover bridge keeps the panel open. */
.has-drop { position: relative; }
.dropbtn { cursor: pointer; background: none; border: 0; font: inherit; color: #cbd5e1; padding: 0; }
.dropbtn:hover { color: #22d3ee; }
.dropbtn::after { content: " ▾"; color: #22d3ee; font-size: 12px; }
.dropmenu { display: none; position: absolute; top: calc(100% + 12px); left: 0; z-index: 50; min-width: 270px; background: #16203a; border: 1px solid #334155; border-radius: 10px; padding: 8px 0; text-align: left; box-shadow: 0 14px 30px rgba(0,0,0,.45); }
.dropmenu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-drop:hover .dropmenu, .has-drop:focus-within .dropmenu, .has-drop.open .dropmenu { display: block; }
.dropmenu a { display: block; white-space: nowrap; padding: 9px 18px; font-size: 15px; }
.dropmenu a:hover { background: #1e293b; }
.dropmenu a.viewall { border-top: 1px solid #334155; margin-top: 6px; padding-top: 12px; color: #22d3ee; font-weight: 700; }
.menu-btn { display: none; background: #22d3ee; color: #0f172a; border: 0; border-radius: 999px; font-weight: 700; font-size: 16px; padding: 10px 22px; cursor: pointer; margin: 14px auto 0; }
/* 3. Hero */
.hero { position: relative; overflow: hidden; text-align: center; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,6,23,.82), rgba(15,23,42,.68) 55%, rgba(15,23,42,.92)); }
.hero svg.lines { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: .45; }
.hero-in { position: relative; max-width: 680px; margin: 0 auto; padding: 64px 22px 70px; }
.eyebrow { color: #22d3ee; letter-spacing: 2px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.hero h1 { font-size: 40px; line-height: 1.15; margin: 14px 0; color: #fff; }
.hero p { font-size: 17px; line-height: 1.6; color: #e2e8f0; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 12px 24px; border-radius: 999px; font-size: 16px; }
.btn1 { background: #22d3ee; color: #0f172a; }
.btn2 { border: 2px solid #22d3ee; color: #22d3ee; margin-left: 10px; }
/* Breadcrumbs: inside .wrap padding so text never touches the viewport edge. */
.crumbs { font-size: 13px; color: #94a3b8; padding: 18px 0 0; }
.crumbs a { color: #67e8f9; text-decoration: none; }
.crumbs span.sep { color: #475569; padding: 0 6px; }
/* 4. Ticker */
.ticker { display: flex; flex-wrap: wrap; border-top: 1px solid #1e293b; border-bottom: 1px solid #1e293b; background: #0b1226; }
.ticker div { flex: 1 1 150px; padding: 14px 10px; font-size: 14px; font-weight: 700; text-align: center; color: #e2e8f0; }
.ticker div span { color: #22d3ee; }
/* Section scaffolding */
section { padding: 44px 0 8px; }
h2.sec { font-size: 28px; margin: 0 0 8px; color: #fff; text-align: center; }
p.sub { text-align: center; color: #94a3b8; font-size: 16px; line-height: 1.6; max-width: 640px; margin: 0 auto 26px; }
/* Reading prose (inner pages): contained in standard width, never edge to edge. */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { color: #fff; font-size: 24px; margin: 34px 0 10px; line-height: 1.3; }
.prose h3 { color: #fff; font-size: 19px; margin: 26px 0 8px; line-height: 1.4; }
.prose p { color: #cbd5e1; font-size: 16px; line-height: 1.7; margin: 0 0 16px; }
.prose ul, .prose ol { color: #cbd5e1; font-size: 16px; line-height: 1.7; margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
/* Side-by-side photo + text row: text top-aligns with its photo. */
.side-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; margin: 8px 0 30px; }
.side-row .side-img { flex: 1 1 280px; max-width: 420px; border-radius: 12px; border: 1px solid #334155; display: block; }
.side-row .side-text { flex: 1 1 280px; min-width: 260px; }
.side-row .side-text h2, .side-row .side-text h3 { margin-top: 0; }
.side-row.flip { flex-direction: row-reverse; }
/* 5. Trust boxes */
.trust { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.trust div { flex: 1 1 200px; max-width: 250px; background: #1e293b; border: 1px solid #334155; border-top: 3px solid #22d3ee; border-radius: 10px; padding: 20px; text-align: center; }
.trust h3 { color: #fff; margin: 0 0 8px; font-size: 17px; }
.trust p { color: #cbd5e1; font-size: 14px; line-height: 1.6; margin: 0; }
/* 6. Service cards */
.cards { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.card { flex: 1 1 280px; max-width: 330px; background: #1e293b; border: 1px solid #334155; border-radius: 12px; overflow: hidden; }
.card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.card .body { padding: 18px 20px 22px; }
.card h3 { color: #fff; margin: 0 0 8px; font-size: 19px; }
.card p { color: #cbd5e1; font-size: 15px; line-height: 1.6; margin: 0; }
.more-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }
.more-list span { border: 1px solid #334155; background: #16203a; border-radius: 999px; padding: 8px 16px; font-size: 14px; color: #e2e8f0; }
/* 7. Comparison table */
.tbl-wrap { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; background: #1e293b; border: 1px solid #334155; border-radius: 10px; overflow: hidden; font-size: 15px; }
table.compare th, table.compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid #334155; line-height: 1.5; }
table.compare th { color: #22d3ee; font-size: 15px; }
table.compare thead th { background: #22d3ee; color: #0f172a; font-weight: 700; border-bottom: 3px solid #0f172a; }
table.compare td:first-child { color: #fff; font-weight: 700; white-space: nowrap; }
table.compare td { color: #cbd5e1; }
/* 8. Steps + timeline */
.steps { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; counter-reset: step; }
.step { flex: 1 1 160px; max-width: 200px; text-align: center; background: #1e293b; border: 1px solid #334155; border-radius: 10px; padding: 20px 16px; }
.step .num { display: inline-block; width: 38px; height: 38px; line-height: 38px; border-radius: 50%; background: #22d3ee; color: #0f172a; font-weight: 700; font-size: 18px; margin-bottom: 10px; }
.step h3 { color: #fff; font-size: 16px; margin: 0 0 6px; }
.step p { color: #cbd5e1; font-size: 14px; line-height: 1.6; margin: 0; }
/* Step cards: long unbroken strings (e.g. email addresses) wrap inside narrow cards. */
.step p, .steps p, .step a, .steps a { overflow-wrap: anywhere; }
.timeline { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.timeline div { flex: 1 1 130px; max-width: 170px; text-align: center; border: 1px solid #334155; border-radius: 10px; padding: 14px 10px; background: #16203a; }
.timeline b { display: block; color: #22d3ee; font-size: 15px; margin-bottom: 4px; }
.timeline span { color: #cbd5e1; font-size: 13px; line-height: 1.5; }
/* 9. CTA */
.cta { background: #22d3ee; color: #0f172a; padding: 34px 22px; text-align: center; margin-top: 44px; }
.cta h2 { margin: 0 0 8px; font-size: 26px; }
.cta p { margin: 0 0 18px; font-size: 16px; }
.cta .btn { background: #0f172a; color: #fff; }
.cta-slim { padding: 24px 22px; margin-top: 36px; }
.cta-slim h2 { font-size: 22px; }
.endcard { max-width: 680px; margin: 34px auto 0; text-align: center; background: #1e293b; border: 1px solid #334155; border-radius: 12px; padding: 28px 24px; }
.endcard h2 { color: #fff; font-size: 22px; margin: 0 0 10px; }
.endcard p { color: #cbd5e1; font-size: 15px; line-height: 1.7; margin: 0 0 18px; }
/* 10. Neighbourhoods + ZIPs */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips span { border: 1px solid #22d3ee; background: #16203a; color: #fff; border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 600; box-shadow: 0 2px 10px rgba(0,0,0,.35); }
.area-box { background: #0b1226; border: 1px solid #334155; border-top: 3px solid #22d3ee; border-radius: 12px; padding: 26px 24px; margin: 8px 0 30px; }
.area-box p:first-child { margin-top: 0; }
.area-box p:last-child { margin-bottom: 0; }
.chips span.zip { border-color: #22d3ee; color: #67e8f9; font-weight: 700; }
/* 11. Towns grid */
.towns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.towns a { flex: 1 1 150px; max-width: 200px; text-align: center; background: #1e293b; border: 1px solid #334155; border-radius: 10px; padding: 16px 10px; color: #fff; text-decoration: none; font-size: 16px; font-weight: 700; }
.towns a:hover { border-color: #22d3ee; color: #22d3ee; }
/* 12. Map */
.mapbox { border: 1px solid #334155; border-radius: 12px; overflow: hidden; }
.mapbox iframe { width: 100%; height: 380px; border: 0; display: block; }
/* 13. FAQ */
.faqs { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.faq { flex: 1 1 280px; max-width: 330px; background: #1e293b; border: 1px solid #334155; border-radius: 12px; padding: 20px 22px; }
.faq h3 { color: #fff; font-size: 17px; margin: 0 0 8px; line-height: 1.4; }
.faq p { color: #cbd5e1; font-size: 14px; line-height: 1.7; margin: 0; }
/* People Also Ask block (visible text only, no schema): sits above FAQ. */
.paa { max-width: 760px; margin: 0 auto; }
.paa-item { background: #16203a; border: 1px solid #334155; border-left: 3px solid #22d3ee; border-radius: 10px; padding: 18px 22px; margin-bottom: 16px; }
.paa-item h3 { color: #fff; font-size: 17px; margin: 0 0 8px; line-height: 1.4; }
.paa-item p { color: #cbd5e1; font-size: 15px; line-height: 1.7; margin: 0; }
/* Related cards (last block on content pages): reuse .card treatment. */
.related { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.related .card h3 a { color: #fff; text-decoration: none; }
.related .card h3 a:hover { color: #22d3ee; }
/* Contact boxes: phone + email, no form anywhere on the site. */
.contact-boxes { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin: 8px 0 30px; }
.contact-box { flex: 1 1 260px; max-width: 360px; background: #1e293b; border: 1px solid #334155; border-top: 3px solid #22d3ee; border-radius: 12px; padding: 24px; text-align: center; }
.contact-box h3 { color: #fff; font-size: 19px; margin: 0 0 8px; }
.contact-box p { color: #cbd5e1; font-size: 15px; line-height: 1.6; margin: 0 0 14px; }
.contact-box a.big { font-size: 19px; font-weight: 700; text-decoration: none; word-break: break-word; }
/* Helpful links list (404 page). */
.help-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.help-links a { border: 1px solid #334155; background: #1e293b; border-radius: 999px; padding: 10px 20px; text-decoration: none; font-weight: 700; }
/* 14. Footer — slim: single-line brand row, ruled columns, strip disclaimer. */
footer { background: #020617; color: #94a3b8; padding: 22px 22px 16px; font-size: 13px; line-height: 1.6; margin-top: 36px; border-top: 3px solid #22d3ee; }
.footgrid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px 28px; max-width: 1080px; margin: 0 auto; }
.footgrid > div:first-child { grid-column: 1 / -1; display: block; border-bottom: 1px solid #1e293b; padding-bottom: 10px; margin-bottom: 12px; }
.footgrid > div { background: transparent; border: 0; border-radius: 0; padding: 0; }
.footgrid > div:nth-child(n+3) { border-left: 1px solid #1e293b; padding-left: 28px; }
.footgrid h3 { color: #22d3ee; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 6px; border: 0; padding: 0; }
.footgrid > div:first-child h3 { display: inline; font-size: 14px; letter-spacing: 0; text-transform: none; color: #fff; margin: 0; border: 0; padding: 0; }
.footgrid > div:first-child h3::after, .footgrid > div:first-child b::after, .footgrid > div:first-child a:first-of-type::after { content: "  |  "; color: #475569; }
/* Brand row flows as one line: the markup's <br> separators are hidden by CSS only (no content change). */
.footgrid > div:first-child br { display: none; }
.footgrid a { color: #67e8f9; text-decoration: none; display: block; white-space: nowrap; }
.footgrid > div:first-child a { display: inline; }
.footgrid b { color: #fff; }
.disclaimer { max-width: 1080px; margin: 16px auto 0; background: transparent; border: 0; border-top: 1px solid #1e293b; border-radius: 0; padding: 12px 0 0; font-size: 12px; line-height: 1.6; color: #94a3b8; }
.disclaimer b { color: #e2e8f0; }
.copy { text-align: center; border-top: 1px solid #1e293b; margin-top: 14px; padding-top: 12px; }
/* 15. Visual modules — Phase 2: flow diagrams, split diagrams, callouts, checklists. */
.flow { display: flex; align-items: stretch; flex-wrap: wrap; gap: 8px; margin: 8px 0 6px; }
.flow-step { flex: 1 1 130px; min-width: 0; background: #0b1226; border: 1px solid #334155; border-top: 3px solid #22d3ee; border-radius: 10px; padding: 14px 12px; text-align: center; }
.flow-step b { display: block; color: #fff; font-size: 15px; margin-bottom: 4px; }
.flow-step span { display: block; color: #cbd5e1; font-size: 13px; line-height: 1.5; }
.flow-arrow { align-self: center; color: #22d3ee; font-size: 20px; font-weight: 700; flex: 0 0 auto; }
.diagram-cap { font-size: 13px; color: #94a3b8; text-align: center; margin: 12px 0 30px; line-height: 1.6; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 6px; }
.split-col { background: #0b1226; border: 1px solid #334155; border-top: 3px solid #22d3ee; border-radius: 10px; padding: 18px 20px; }
.split-col h3 { color: #fff; margin: 0 0 8px; font-size: 17px; }
.split-col p { color: #cbd5e1; font-size: 14px; line-height: 1.7; margin: 0 0 10px; }
.split-col p:last-child { margin-bottom: 0; }
.callout { background: #0b1226; border: 1px solid #334155; border-left: 4px solid #22d3ee; border-radius: 10px; padding: 20px 24px; margin: 8px 0 30px; }
.callout h3 { color: #fff; margin: 0 0 10px; font-size: 19px; }
.callout p, .callout li { color: #cbd5e1; font-size: 15px; line-height: 1.7; }
.callout ul { margin: 0; padding-left: 22px; }
.callout li { margin-bottom: 8px; }
.checklist { background: #0b1226; border: 1px solid #334155; border-radius: 12px; padding: 22px 24px; margin: 8px 0 30px; }
.checklist h3 { color: #fff; margin: 0 0 6px; font-size: 19px; }
.checklist p { color: #cbd5e1; font-size: 15px; line-height: 1.7; margin: 0 0 12px; }
.checklist ul { list-style: none; margin: 0; padding: 0; }
.checklist li { color: #cbd5e1; font-size: 15px; line-height: 1.7; padding-left: 28px; position: relative; margin-bottom: 10px; }
.checklist li::before { content: "\2713"; position: absolute; left: 0; color: #22d3ee; font-weight: 700; }
.checklist li:last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  nav { flex-direction: column; gap: 4px; align-items: stretch; text-align: center; display: none; }
  nav.crumbs { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 0; border: 0; margin-top: 0; text-align: left; }
  nav.open { display: flex; }
  nav a, .dropbtn { padding: 8px 0; }
  .has-drop { width: 100%; }
  .dropmenu { position: static; box-shadow: none; border: 0; border-top: 1px solid #334155; border-radius: 0; padding: 4px 0 8px; background: #0b1226; }
  .dropmenu::before { display: none; }
  .dropmenu a { font-size: 14px; padding: 8px 12px; text-align: center; }
  .footgrid { grid-template-columns: 1fr; }
  .footgrid > div:nth-child(n+3) { border-left: 0; padding-left: 0; border-top: 1px solid #1e293b; padding-top: 10px; }
  .side-row .side-img { max-width: 100%; }
  .flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); align-self: center; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .brand { font-size: 26px; }
  .hero h1 { font-size: 30px; }
  .hero-in { padding: 48px 22px 54px; }
  .btn2 { margin-left: 0; margin-top: 10px; }
  .mapbox iframe { height: 300px; }
  table.compare, table.compare tbody, table.compare tr, table.compare td { display: block; width: 100%; }
  table.compare thead { display: none; }
  table.compare tr { border-bottom: 1px solid #334155; padding: 6px 0; }
  table.compare td:first-child { white-space: normal; }
}
