/* Elgin HVAC Services design tokens */
:root {
  --ink: #12314a;        /* deep cobalt: headings, header */
  --ink-2: #0e2233;      /* footer */
  --paper: #f7f9f8;      /* page background */
  --white: #ffffff;
  --frost: #dbeaf2;      /* cool panel */
  --frost-2: #eef5f8;
  --heat: #e4551f;       /* the one hot colour: phone and primary CTA only */
  --heat-dark: #bf4316;
  --text: #1d2b36;
  --muted: #55687a;
  --line: #cfdbe3;
  --radius: 6px;
  --max: 1120px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--heat-dark); }
:focus-visible { outline: 3px solid var(--heat); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.prose { max-width: 72ch; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; margin-top: 1.6em; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); font-weight: 600; margin-top: 1.3em; }
p, ul, ol { margin: 0 0 1em; }
li { margin-bottom: .35em; }
strong { font-weight: 600; }

/* Availability bar: the one thing every competitor cannot say */
.avail { background: var(--ink); color: #fff; font-size: .95rem; }
.avail .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; min-height: 40px; }
.avail .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #5fd38a; margin-right: 8px; vertical-align: -1px; }
.avail a { color: #fff; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; color: var(--ink); text-decoration: none; letter-spacing: .01em; line-height: 1; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; font-weight: 500; color: var(--ink); font-size: .98rem; }
.nav details { position: relative; }
.nav summary { cursor: pointer; list-style: none; font-weight: 500; }
.nav summary::-webkit-details-marker { display: none; }
.nav details[open] .menu { display: grid; }
.nav .menu { display: none; position: absolute; top: 140%; left: -12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 0; min-width: 280px; box-shadow: 0 12px 30px rgba(18,49,74,.12); }
.nav .menu a { padding: 8px 16px; }
.nav .menu a:hover { background: var(--frost-2); }
.btn { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .01em; padding: 12px 20px; border-radius: var(--radius); text-decoration: none; line-height: 1; border: 2px solid transparent; }
.btn-heat { background: var(--heat); color: #fff; border-color: var(--heat); }
.btn-heat:hover { background: var(--heat-dark); border-color: var(--heat-dark); color: #fff; }
.btn-ink { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ink:hover { background: var(--ink); color: #fff; }
.nav-toggle { display: none; }

/* Hero */
.hero { background: var(--white); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; padding: 56px 20px 48px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lede { font-size: 1.2rem; color: var(--text); max-width: 56ch; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; align-items: center; }
.hero .phone { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--ink); text-decoration: none; }
.hero .phone small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .8rem; color: var(--muted); }
.hero-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 28px; }
.hero-card h2 { color: #fff; margin-top: 0; font-size: 1.6rem; }
.hero-card ul { list-style: none; padding: 0; margin: 0; }
.hero-card li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.14); }
.hero-card li:first-child { border-top: 0; }
.hero-card .media { margin-top: 12px; border: 1px dashed rgba(255,255,255,.4); padding: 16px; border-radius: var(--radius); font-size: .9rem; color: #c9d8e3; }

/* Trust strip */
.trust { background: var(--frost); }
.trust .wrap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; padding: 18px 20px; }
.trust div { font-size: .95rem; line-height: 1.3; }
.trust b { display: block; font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: var(--ink); }

/* Content sections */
.section { padding: 44px 0 8px; }
.section .wrap { max-width: var(--max); }
.content h2 { padding-top: 10px; }
.content h2:first-of-type { margin-top: .4em; }
.placeholder { background: var(--frost-2); border: 1px dashed #9ab8c9; color: var(--muted); padding: 14px 16px; border-radius: var(--radius); font-size: .95rem; margin: 1em 0; }
.placeholder.proof { background: #fff6e8; border-color: #e7b56b; color: #7a4a05; }
.verify { background: #fff1ee; border-left: 3px solid var(--heat); padding: 2px 6px; }

/* Service list (not identical cards: a two-column list with a hot rule) */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 10px 0 20px; padding: 0; list-style: none; }
.services li { border-top: 1px solid var(--line); padding: 16px 0; margin: 0; }
.services a { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; text-decoration: none; }
.services span { display: block; color: var(--muted); font-size: .95rem; margin-top: 2px; }

/* Process: a real sequence, so numbers belong */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 10px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0; }
.steps li::before { content: counter(s); display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--heat); line-height: 1; margin-bottom: 6px; }
.steps b { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 700; color: var(--heat); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; max-width: 72ch; }

/* CTA band */
.cta { background: var(--ink); color: #fff; margin-top: 48px; }
.cta .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 40px 20px; }
.cta h2 { color: #fff; margin: 0 0 .3em; }
.cta p { margin: 0; color: #d6e3ec; max-width: 60ch; }
.cta .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta .btn-ink { color: #fff; border-color: #fff; }
.cta .btn-ink:hover { background: #fff; color: var(--ink); }

/* Breadcrumbs */
.crumbs { font-size: .9rem; color: var(--muted); padding: 14px 0 0; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #9fb3c2; }
.crumbs a { color: var(--muted); }

/* Page header for inner pages */
.page-head { background: var(--white); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding: 20px 20px 36px; }
.page-head h1 { max-width: 20ch; }
.page-head .lede { font-size: 1.15rem; max-width: 60ch; }

/* Form */
.form { display: grid; gap: 14px; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.form input, .form select, .form textarea { font: inherit; padding: 10px 12px; border: 1px solid #9fb3c2; border-radius: var(--radius); background: #fff; }
.form textarea { min-height: 110px; }

/* Footer */
.site-footer { background: var(--ink-2); color: #c9d8e3; margin-top: 56px; font-size: .95rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; padding: 44px 20px 24px; }
.site-footer h3 { color: #fff; font-size: 1.15rem; margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.legal { border-top: 1px solid rgba(255,255,255,.12); }
.legal .wrap { display: block; padding: 16px 20px 90px; font-size: .88rem; color: #9fb3c2; }

/* Sticky mobile call bar */
.callbar { display: none; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 36px; }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr; }
  .cta .wrap { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .avail .wrap { min-height: 34px; font-size: .88rem; }
  .avail .wrap span:nth-child(n+2) { display: none; }
  .nav { display: none; }
  .nav-toggle { display: block; }
  .nav-toggle[open] .nav { display: grid; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 18px; gap: 10px; }
  .nav-toggle summary { list-style: none; cursor: pointer; font-weight: 600; padding: 8px 0; }
  .nav-toggle summary::-webkit-details-marker { display: none; }
  .nav .menu { position: static; display: grid; border: 0; box-shadow: none; padding: 0 0 0 12px; }
  .header-cta { display: none; }
  .steps { grid-template-columns: 1fr; }
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--heat); color: #fff; justify-content: center; gap: 10px; padding: 12px 16px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; text-decoration: none; }
}

/* real photos */
.photo { margin: 1.4em 0; }
.photo img { display: block; width: 100%; max-width: 720px; height: auto; border-radius: var(--radius); background: var(--frost-2); }
.prose > .photo img { width: auto; max-width: 100%; max-height: 520px; }
.photo figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 1.4em 0; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.gallery .photo { margin: 0; }
.gallery .photo img { max-width: none; aspect-ratio: 4 / 5; object-fit: cover; }
.gallery .photo figcaption { font-size: .82rem; }
.hero-card .hero-photo { margin: 12px 0 0; }
.hero-card .hero-photo img { max-width: none; aspect-ratio: 16 / 10; object-fit: cover; }
.hero-card .hero-photo figcaption { color: #c9d8e3; }
