/* ASAP Heating & Air — minimal / raw */

:root {
  --ink: #111111;
  --paper: #ffffff;
  --muted: #4d4d4d;
  --accent: #ff5a1f;       /* flat safety orange, used with black text only */
  --line: 2px solid var(--ink);
  --sans: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --pad: 20px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }

a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { text-decoration-color: var(--accent); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.cta :focus-visible { outline-color: var(--ink); }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px; font-family: var(--mono);
}
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }

.label {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px;
  border: var(--line);
  font-family: var(--mono); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.btn-call { background: var(--accent); color: var(--ink); }
.btn-call:hover { background: var(--ink); color: var(--paper); }
.btn-line { background: var(--paper); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--paper); color: var(--ink); }
.btn-sm { min-height: 48px; padding: 0 16px; font-size: 0.85rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo {
  font-family: var(--sans); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.03em;
  text-decoration: none;
}
.logo span { display: none; font-weight: 400; }
.nav { display: none; }
.show-xs { display: inline; }
.hide-xs { display: none; }

/* ---------- Hero ---------- */

.hero { padding: 40px 0 0; }
.hero-grid { display: grid; gap: 32px; }
.hero-copy .label { margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.4rem, 9vw, 4.9rem); max-width: 14ch; }
.lede { margin-top: 20px; max-width: 38ch; font-size: 1.12rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions .btn { flex: 1 1 200px; }

.facts { margin: 0; border: var(--line); }
.fact { display: grid; grid-template-columns: 7.5rem 1fr; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--ink); }
.fact:last-child { border-bottom: 0; }
.fact dt { font-family: var(--mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; padding-top: 3px; }
.fact dd { margin: 0; }

.bignum {
  display: block;
  margin-top: 40px;
  padding: 20px 0 14px;
  border-top: var(--line);
  border-bottom: var(--line);
  text-decoration: none;
}
.bignum-label { display: block; font-family: var(--mono); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.bignum-digits {
  display: block;
  font-weight: 700;
  font-size: clamp(2.3rem, 10.6vw, 9.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  margin-top: 8px;
}
.bignum:hover .bignum-digits { color: var(--accent); }
.bignum:hover { text-decoration: none; }

/* ---------- Sections ---------- */

.section { padding: 64px 0; border-bottom: var(--line); }
.section-head { margin-bottom: 32px; }
.section-head .label { margin-bottom: 12px; }
.section h2 { font-size: clamp(2rem, 6vw, 3.4rem); max-width: 18ch; }

/* Services: numbered bordered grid */
.services {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr;
  border-top: var(--line); border-left: var(--line);
}
.services li {
  padding: 22px 20px 26px;
  border-right: var(--line); border-bottom: var(--line);
}
.services .num { display: block; font-family: var(--mono); font-size: 0.85rem; font-weight: 600; margin-bottom: 18px; }
.services h3 { font-size: 1.45rem; margin-bottom: 10px; }
.services p { color: var(--muted); }

/* Why: dark block */
.section-ink { background: var(--ink); color: var(--paper); border-bottom: 0; }
.section-ink .label { color: var(--accent); }
.why { display: grid; gap: 0; border-top: 1px solid var(--paper); }
.why-item { padding: 26px 0; border-bottom: 1px solid var(--paper); }
.why-key { font-family: var(--mono); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--accent); margin-bottom: 16px; }
.why-item h3 { font-size: 1.4rem; margin-bottom: 8px; }
.why-item p:last-child { color: #d6d6d6; }

/* Visit */
.visit { display: grid; gap: 32px; }
.hours { width: 100%; border-collapse: collapse; border: var(--line); }
.hours caption { text-align: left; padding-bottom: 10px; }
.hours th, .hours td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--ink); vertical-align: top; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-family: var(--mono); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; width: 40%; }

.contact-block { margin-top: 28px; }
.contact-block .label { margin-top: 18px; margin-bottom: 4px; }
.contact-block .label:first-child { margin-top: 0; }
address { font-style: normal; font-size: 1.15rem; }
.phone-line { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
.area { margin-top: 18px; color: var(--muted); }

.map { margin: 0; border: var(--line); }
.map iframe { display: block; width: 100%; height: 320px; border: 0; border-bottom: var(--line); background: #f1f1f1; }
.map figcaption { padding: 12px 16px; font-family: var(--mono); font-size: 0.82rem; }

/* CTA */
.cta { background: var(--accent); border-bottom: var(--line); padding: 56px 0; }
.cta-inner { display: grid; gap: 24px; }
.cta h2 { font-size: clamp(2rem, 6.5vw, 3.8rem); max-width: 20ch; }

/* Footer */
.site-footer { padding: 32px 0 40px; font-family: var(--mono); font-size: 0.85rem; }
.footer-inner { display: grid; gap: 6px; }
.footer-name { font-family: var(--sans); font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }

/* ---------- Wider screens ---------- */

@media (min-width: 420px) {
  .show-xs { display: none; }
  .hide-xs { display: inline; }
}

@media (min-width: 720px) {
  :root { --pad: 32px; }
  .logo span { display: inline; }
  .services { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .why-item { padding: 8px 28px 8px 0; border-bottom: 0; border-right: 1px solid var(--paper); }
  .why-item + .why-item { padding-left: 28px; }
  .why-item:last-child { border-right: 0; }
  .map iframe { height: 380px; }
  .cta-inner { grid-template-columns: 1fr auto; align-items: end; }
  .actions .btn { flex: 0 0 auto; }
}

@media (min-width: 960px) {
  .nav { display: flex; gap: 28px; margin-left: auto; font-family: var(--mono); font-size: 0.85rem; }
  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: end; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .services li { padding: 28px 28px 34px; min-height: 250px; }
  .section { padding: 96px 0; }
  .section-head { display: grid; grid-template-columns: 1fr 2fr; align-items: end; margin-bottom: 48px; }
  .section-head .label { margin-bottom: 6px; }
  .visit { grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
  .map iframe { height: 440px; }
  .cta { padding: 80px 0; }
  .footer-inner { grid-template-columns: 1.4fr 1.6fr 1fr 1fr auto; align-items: baseline; gap: 24px; }
  .footer-name { margin-bottom: 0; }
}
