/* Fischer Mechanical — site styles.
   Family resemblance to the C&S HVAC site: navy bar and title bands, white bodies,
   Archivo (narrow) headlines over Public Sans, hairline rules. Fischer's logo red for actions. */
:root {
  --navy: #1f2b45;
  --navy-deep: #18223a;
  --slate: #51658c;
  --red: #b2010d;
  --red-deep: #8a010a;
  --ink: #1c2334;
  --ink-2: #5a6378;
  --mist: #f3f5f8;
  --line: #dde2ea;
  --on-navy-2: #aeb8cc;
  --good: #1f7a4d;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1140px;
  --radius: 3px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .18em; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 3px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
h1, h2, h3 { font-family: var(--display); font-stretch: 78%; font-variation-settings: "wdth" 78; font-weight: 700; line-height: 1.05; letter-spacing: -.005em; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.25rem; font-stretch: 88%; font-variation-settings: "wdth" 88; font-weight: 600; line-height: 1.2; }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.55; max-width: 40rem; }
.eyebrow { font: 600 .74rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--red); display: flex; align-items: center; gap: 12px; margin: 0; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: 600 .98rem/1 var(--body); letter-spacing: .01em; text-decoration: none; padding: 1rem 1.5rem; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mist); }
.btn-sm { padding: .72rem 1rem; font-size: .92rem; }

/* ---------- Header: one navy bar with logo and menu ---------- */
.masthead { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; }
.masthead .wrap { display: flex; align-items: center; gap: 1.3rem; min-height: 4.8rem; }
.brand { --logo-h: 3.4rem; display: block; text-decoration: none; margin-right: auto; padding-block: .7rem; }
.brand img { height: var(--logo-h); width: auto; }
@media (max-width: 480px) { .brand { --logo-h: 2.4rem; } }
.nav { display: flex; gap: 1.5rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: .97rem; color: #dfe4ee; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: #c8323e; }
.masthead .btn { padding: .72rem 1.05rem; font-size: .93rem; }
.menu { display: none; }
@media (max-width: 1020px) { .phone-btn { display: none; } }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu > summary { list-style: none; cursor: pointer; font-weight: 600; font-size: .95rem; padding: .6rem .8rem; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: var(--radius); }
  .menu > summary::-webkit-details-marker { display: none; }
  .menu .panel { position: absolute; right: 0; top: calc(100% + .7rem); width: min(16rem, 80vw); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(28,35,52,.25); padding: .4rem; display: flex; flex-direction: column; }
  .menu .panel a { padding: .75rem .8rem; text-decoration: none; font-weight: 600; border-radius: 3px; color: var(--ink); }
  .menu .panel a:hover { background: var(--mist); }
}
@media (max-width: 640px) { .masthead .estimate { display: none; } }

/* Estimate dropdown */
.estimate { position: relative; }
.estimate > summary { list-style: none; cursor: pointer; }
.estimate > summary::-webkit-details-marker { display: none; }
.estimate .caret { width: .5rem; height: .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.estimate[open] .caret { transform: translateY(2px) rotate(-135deg); }
.estimate .drop { position: absolute; right: 0; top: calc(100% + .7rem); width: min(22rem, calc(100vw - 2rem)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 44px rgba(28,35,52,.2); padding: 1.1rem; z-index: 5; }
.drop p.hint { font-size: .9rem; color: var(--ink-2); margin: 0 0 .8rem; }
.contact-lines { display: flex; flex-direction: column; gap: .5rem; }
.contact-line { display: flex; flex-direction: column; padding: .72rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.contact-line:hover { border-color: var(--ink); }
.contact-line small { font-size: .8rem; color: var(--ink-2); }
.contact-line b { font-weight: 600; font-size: 1.02rem; overflow-wrap: anywhere; }
.contact-line.phone b { font-family: var(--display); font-stretch: 80%; font-variation-settings: "wdth" 80; font-size: 1.55rem; font-weight: 700; }

/* Mobile call/email bar */
.callbar { display: none; }
@media (max-width: 640px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--navy); }
  .callbar .btn { width: 100%; padding: .9rem .5rem; }
  body { padding-bottom: 4.7rem; }
}

/* ---------- Section pattern: navy title band, then white body ---------- */
section { padding-block: 0 clamp(56px, 7vw, 88px); }
.band { background: var(--navy); color: #fff; padding-block: clamp(36px, 5vw, 56px); }
.band .eyebrow { color: var(--on-navy-2); }
.band .eyebrow::before { width: 36px; height: 3px; background: #c8323e; }
.band h2, .band h1 { color: #fff; margin: 16px 0 0; }
.band h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.band h2 span, .band h1 span { color: var(--on-navy-2); font-weight: 400; }
.band .sub { color: #c9d0de; margin: 14px 0 0; max-width: 62ch; }
.body { margin-top: clamp(40px, 5vw, 64px); }

/* Hero */
.hero { padding-block: clamp(36px, 5vw, 64px) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: end; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { max-width: 13ch; margin-bottom: .35em; }
.hero .lede { color: var(--ink-2); margin-bottom: 1.6rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: clamp(36px, 5vw, 64px); }
.section-cut { width: 100%; height: auto; }
.section-cut text { font-family: var(--body); }

/* Services: dropdown rows */
.rows { border-top: 1px solid var(--line); max-width: 900px; }
details.row { border-bottom: 1px solid var(--line); }
details.row > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding: 1.15rem 0; }
details.row > summary::-webkit-details-marker { display: none; }
details.row > summary h3 { margin: 0; flex: 1; font-size: 1.4rem; font-stretch: 80%; font-variation-settings: "wdth" 80; font-weight: 700; }
details.row > summary .tag { font: 600 .7rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
.plus { flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid var(--ink); position: relative; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: .7rem; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s; }
details[open] > summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.row-body { padding: 0 3rem 1.5rem 0; color: var(--ink-2); max-width: 46rem; }
@media (max-width: 640px) { .row-body { padding-right: 0; } details.row > summary .tag { display: none; } }
.row-body ul { margin: .2rem 0 1rem; padding-left: 1.1rem; }
.row-body li { margin-bottom: .3rem; }
.row-body .links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }

/* Geothermal "plan" box: copy left, navy numbers panel right */
.plan { display: grid; grid-template-columns: 1.4fr 1fr; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
@media (max-width: 860px) { .plan { grid-template-columns: 1fr; } }
.plan-main { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.plan-main h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-stretch: 78%; font-variation-settings: "wdth" 78; font-weight: 700; line-height: 1.08; margin: 0; }
.plan-main p { color: var(--ink-2); margin: 0; }
.plan-list { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.plan-list li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); align-items: baseline; }
.plan-list b { font: 600 .74rem/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.plan-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.plan-price { background: var(--navy); color: #fff; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.math-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.math-row span { color: var(--on-navy-2); font-size: .95rem; }
.math-row b { font: 700 2rem/1 var(--display); font-stretch: 80%; font-variation-settings: "wdth" 80; font-variant-numeric: tabular-nums; }
.math-row.result { border-bottom: 0; }
.math-row.result b { font-size: 3.2rem; color: #fff; }
.math-row.result span { color: #fff; font-weight: 600; }
.math-note { color: var(--on-navy-2); font-size: .84rem; line-height: 1.55; margin: .8rem 0 0; }

/* About */
.about .copy { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 56px; color: var(--ink-2); }
.about .copy p { margin: 0; }
.about .copy p:first-child { grid-column: 1 / -1; font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.5; color: var(--ink); }
@media (max-width: 760px) { .about .copy { grid-template-columns: 1fr; } }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 700px) { .team { grid-template-columns: 1fr; } }
.person { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.person + .person { padding-left: 28px; border-left: 1px solid var(--line); }
@media (max-width: 700px) { .person + .person { padding-left: 0; border-left: 0; } }
.person h3 { font-size: 1.5rem; margin: 0 0 .1rem; font-stretch: 80%; font-variation-settings: "wdth" 80; font-weight: 700; }
.person .role { font: 600 .74rem/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 .8rem; }
.person p { color: var(--ink-2); font-size: .97rem; }
.person a.mail { font-weight: 600; color: var(--ink); }
.acc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 900px) { .acc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .acc-grid { grid-template-columns: 1fr; } }
.acc { border: 1px solid var(--line); border-radius: 4px; padding: 24px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.acc .ic { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--red); display: grid; place-items: center; color: var(--red); margin-bottom: 4px; }
.acc .ic.navy { border-color: var(--slate); color: var(--slate); }
.acc .ic svg { width: 22px; height: 22px; }
.acc h3 { margin: 0; font-size: 1.15rem; }
.acc p { margin: 0; font-size: .88rem; color: var(--ink-2); line-height: 1.5; }

/* Blog lists */
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .3rem 2rem; padding: 1.3rem 0; text-decoration: none; color: var(--ink); }
.post-list a:hover h3 { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .15em; }
.post-list h3 { margin: 0; font-size: 1.4rem; font-stretch: 80%; font-variation-settings: "wdth" 80; font-weight: 700; grid-column: 1; }
.post-list p { margin: 0; color: var(--ink-2); font-size: .97rem; grid-column: 1; }
.post-list .topic { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 600 .7rem/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
@media (max-width: 640px) { .post-list a { grid-template-columns: 1fr; } .post-list .topic { grid-column: 1; grid-row: auto; } }

/* Contact */
.contact { background: var(--navy); color: #fff; padding-block: clamp(56px, 7vw, 88px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact h2 { color: #fff; margin-top: 16px; }
.contact .eyebrow { color: var(--on-navy-2); }
.contact .eyebrow::before { width: 36px; height: 3px; background: #c8323e; }
.contact .sub { color: #c9d0de; }
.big-phone { display: inline-block; font: 700 clamp(2.4rem, 6vw, 4.2rem)/1 var(--display); font-stretch: 78%; font-variation-settings: "wdth" 78; text-decoration: none; color: #fff; white-space: nowrap; margin-top: .4rem; }
.big-phone:hover { color: #ffd6da; }
.contact .contact-line { border-color: rgba(255,255,255,.22); color: #fff; }
.contact .contact-line small { color: var(--on-navy-2); }
.contact .contact-line:hover { border-color: #fff; }

/* Article + calculator heads use the navy band */
.page-band { background: var(--navy); color: #fff; padding-block: clamp(40px, 6vw, 72px); }
.page-band .crumbs { font-size: .9rem; color: var(--on-navy-2); margin: 0 0 1rem; }
.page-band .crumbs a { color: #fff; }
.page-band h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 22ch; margin: 14px 0 0; }
.page-band .meta { color: var(--on-navy-2); font-size: .95rem; margin: 1rem 0 0; }
.page-band .sub { color: #c9d0de; margin: 14px 0 0; max-width: 62ch; font-size: 1.1rem; }
.page-band .eyebrow { color: var(--on-navy-2); }
.page-band .eyebrow::before { width: 36px; height: 3px; background: #c8323e; }
.article { display: grid; grid-template-columns: minmax(0, 42rem) minmax(0, 1fr); gap: 4rem; padding-block: clamp(40px, 5vw, 64px) clamp(56px, 7vw, 88px); }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; gap: 2rem; } }
.prose { font-size: 1.08rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 2.2rem 0 .7rem; }
.prose h3 { margin: 1.8rem 0 .5rem; font-size: 1.3rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4rem; font-size: 1rem; font-variant-numeric: tabular-nums; }
.prose th, .prose td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; border-bottom: 2px solid var(--ink); }
.prose .callout { background: var(--mist); border-left: 3px solid var(--red); padding: 1rem 1.2rem; margin: 1.5rem 0; border-radius: 0 var(--radius) var(--radius) 0; }
.prose .callout p:last-child { margin-bottom: 0; }
.prose details.faq { border-bottom: 1px solid var(--line); }
.prose details.faq:first-of-type { border-top: 1px solid var(--line); }
.prose details.faq > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 0; }
.prose details.faq > summary::-webkit-details-marker { display: none; }
.prose details.faq > summary h2 { margin: 0; flex: 1; font-size: 1.35rem; line-height: 1.2; }
.prose details.faq .a { padding: 0 0 1rem; }
.aside { position: sticky; top: 6.5rem; align-self: start; display: flex; flex-direction: column; gap: 1rem; }
@media (max-width: 960px) { .aside { position: static; } }
.aside-box { border: 1px solid var(--line); border-radius: 4px; padding: 1.3rem; }
.aside-box.dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.aside-box.dark h3 { color: #fff; }
.aside-box.dark p { color: #c9d0de; }
.aside-box h3 { font-size: 1.35rem; margin: 0 0 .4rem; font-stretch: 80%; font-variation-settings: "wdth" 80; font-weight: 700; }
.aside-box p { font-size: .95rem; color: var(--ink-2); }
.aside-box .btn { width: 100%; }
.aside-box ul { list-style: none; margin: 0; padding: 0; }
.aside-box li { padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.aside-box li:last-child { border-bottom: none; }

/* Footer (navy, like C&S) */
.site-footer { background: var(--navy); color: #c9d0de; padding: clamp(48px, 6vw, 72px) 0 2rem; font-size: .93rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer .fname { font: 700 1.45rem/1.1 var(--display); font-stretch: 80%; font-variation-settings: "wdth" 80; color: #fff; margin: 0 0 .8rem; }
.site-footer h4 { font: 600 .72rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: #fff; margin: .3rem 0 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .fine { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .82rem; color: var(--on-navy-2); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
.aside-box.dark .contact-line { border-color: rgba(255,255,255,.22); color: #fff; }
.aside-box.dark .contact-line small { color: var(--on-navy-2); }
.aside-box.dark .contact-line:hover { border-color: #fff; }

.hero .wrap > div { max-width: 46rem; }
.hero h1 { max-width: 16ch; }
.prose figure.diagram { margin: 1.4rem 0 1.6rem; padding: 1rem; background: var(--mist); border-radius: 4px; }
.prose figure.diagram figcaption { font-size: .9rem; color: var(--ink-2); margin-top: .7rem; line-height: 1.5; }

.plan.solo { grid-template-columns: 1fr; }
.plan.solo .plan-main { max-width: 52rem; }
