/*
  Iron County Heating & Air — sample Sprint tokens
  Distinct from Funnel Fox and from Wasatch Plumbing:
  no rust, no Roboto Condensed, no navy + brass, no Oswald.
  Ice white + cool steel. IBM Plex Sans + IBM Plex Mono. Phone-first.
*/

@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;600&family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --hvac-ice: #f3f7fa;
  --hvac-paper: #ffffff;
  --hvac-steel: #2a4a5e;
  --hvac-steel-deep: #163044;
  --hvac-frost: #8fb8cc;
  --hvac-ink: #0d1820;
  --hvac-muted: #4a5f6e;
  --hvac-line: #c5d3dc;
  --hvac-well: #e6eef3;
  --hvac-sans: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", sans-serif;
  --hvac-mono: "IBM Plex Mono", "SFMono-Regular", ui-monospace, monospace;
  --hvac-wrap: 720px;
  --hvac-gutter: 20px;
  --hvac-sticky-h: 56px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--hvac-ice);
  color: var(--hvac-ink);
  font-family: var(--hvac-sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--hvac-sticky-h) + 12px);
}

@media (min-width: 720px) {
  body {
    padding-bottom: 0;
  }
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--hvac-steel);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--hvac-steel-deep);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--hvac-frost);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 30;
  padding: 8px 12px;
  background: var(--hvac-steel-deep);
  color: var(--hvac-ice);
  text-decoration: none;
}

.skip:focus {
  top: 8px;
}

.wrap {
  width: min(100% - (var(--hvac-gutter) * 2), var(--hvac-wrap));
  margin-inline: auto;
}

.sample-banner {
  margin: 0;
  padding: 8px var(--hvac-gutter);
  background: var(--hvac-steel-deep);
  color: #c9d8e2;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-align: center;
}

.sample-banner a {
  color: var(--hvac-frost);
  font-weight: 600;
}

.sample-banner a:hover {
  color: #d7eef6;
}

/* Emergency first — technical rail, not a navy slab */

.dispatch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 0;
  padding: 10px var(--hvac-gutter);
  background: var(--hvac-steel);
  color: var(--hvac-ice);
  font-family: var(--hvac-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dispatch a {
  color: var(--hvac-ice);
  text-decoration: none;
  border-bottom: 1px solid var(--hvac-frost);
}

.dispatch a:hover {
  color: #e8f4f8;
}

.firm-header {
  background: var(--hvac-paper);
  border-bottom: 1px solid var(--hvac-line);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding: 8px 0;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--hvac-steel-deep);
  text-decoration: none;
}

.wordmark:hover {
  color: var(--hvac-steel-deep);
}

.mark {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
}

.wordmark-text {
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.wordmark-text span {
  display: block;
  font-family: var(--hvac-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hvac-muted);
}

.header-call {
  display: none;
  color: var(--hvac-steel);
  font-family: var(--hvac-mono);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 720px) {
  .mark {
    width: 40px;
    height: 40px;
  }

  .wordmark-text {
    font-size: 1.15rem;
  }

  .header-call {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

/* Photo + overlay + headline + call — not a text slab then graph paper */

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: var(--hvac-steel-deep);
  color: var(--hvac-ice);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(13, 24, 32, 0.82) 0%,
    rgba(22, 48, 68, 0.62) 48%,
    rgba(42, 74, 94, 0.28) 100%
  );
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 40px 0;
}

.hero .kicker {
  margin: 0 0 12px;
  font-family: var(--hvac-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hvac-frost);
}

.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.9rem, 7.5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--hvac-ice);
}

.hero .offer {
  margin: 14px 0 0;
  max-width: 36ch;
  color: #d5e3eb;
}

.call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 22px;
  padding: 12px 20px;
  width: 100%;
  background: var(--hvac-ice);
  color: var(--hvac-steel-deep);
  font-weight: 700;
  text-decoration: none;
}

.call-btn:hover {
  background: #ffffff;
  color: var(--hvac-steel-deep);
}

@media (min-width: 720px) {
  .hero {
    min-height: 640px;
  }

  .hero-copy {
    padding: 56px 0;
  }

  .call-btn {
    width: auto;
    min-width: 240px;
  }
}

.block {
  padding: 40px 0;
}

.block h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--hvac-steel-deep);
}

/* Service rows — hairline list, mono tags, not numbered cards */

.service-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hvac-line);
}

.service-rows li {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hvac-line);
}

.service-rows .tag {
  font-family: var(--hvac-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hvac-steel);
  padding-top: 4px;
}

.service-rows h3 {
  margin: 0 0 6px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--hvac-ink);
}

.service-rows p {
  margin: 0;
  color: var(--hvac-muted);
  font-size: 0.975rem;
}

.hours {
  background: var(--hvac-paper);
  border-top: 1px solid var(--hvac-line);
  border-bottom: 1px solid var(--hvac-line);
}

.hours-list {
  margin: 0;
  padding: 0;
}

.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hvac-line);
  font-family: var(--hvac-mono);
  font-size: 0.8125rem;
}

.hours-list div:last-child {
  border-bottom: 0;
}

.hours-list dt {
  font-weight: 600;
  color: var(--hvac-steel-deep);
}

.hours-list dd {
  margin: 0;
  text-align: right;
  color: var(--hvac-ink);
}

.hours-note {
  margin: 16px 0 0;
  color: var(--hvac-muted);
  font-size: 0.9375rem;
}

.reviews-lead {
  margin: 0 0 16px;
  color: var(--hvac-muted);
  font-size: 0.975rem;
}

.review-cards {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.review-cards li {
  padding: 18px 16px;
  background: var(--hvac-paper);
  border: 1px solid var(--hvac-line);
  border-top: 3px solid var(--hvac-frost);
}

.review-cards blockquote {
  margin: 0;
}

.review-cards blockquote p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--hvac-ink);
}

.review-byline {
  margin: 12px 0 0;
  font-family: var(--hvac-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hvac-muted);
}

.review-byline span {
  color: var(--hvac-steel);
}

@media (min-width: 720px) {
  .review-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.contact {
  background: var(--hvac-paper);
}

.contact-lead {
  margin: 0 0 20px;
  max-width: 36ch;
  color: var(--hvac-muted);
}

.callout {
  margin-bottom: 24px;
  padding: 16px 18px;
  background: var(--hvac-ice);
  border: 1px solid var(--hvac-line);
}

.callout p {
  margin: 0 0 6px;
  font-family: var(--hvac-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hvac-muted);
}

.callout a {
  color: var(--hvac-steel-deep);
  font-weight: 700;
  font-size: 1.35rem;
  text-decoration: none;
}

.callout a:hover {
  color: var(--hvac-steel);
}

.field {
  margin-top: 14px;
}

.field:first-of-type {
  margin-top: 0;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hvac-steel-deep);
}

input,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--hvac-line);
  border-radius: 0;
  background: var(--hvac-paper);
  color: var(--hvac-ink);
  font-family: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--hvac-frost);
  outline-offset: 2px;
  border-color: var(--hvac-steel);
}

.form-actions {
  margin-top: 18px;
}

button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  padding: 12px 18px;
  border: 0;
  background: var(--hvac-steel);
  color: var(--hvac-ice);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

button[type="submit"]:hover {
  background: var(--hvac-steel-deep);
}

.form-hint,
.form-status {
  margin: 12px 0 0;
  font-size: 0.875rem;
  color: var(--hvac-muted);
}

.form-status[hidden] {
  display: none;
}

@media (min-width: 720px) {
  button[type="submit"] {
    width: auto;
    min-width: 200px;
  }
}

.firm-footer {
  padding: 28px 0 36px;
  background: var(--hvac-steel-deep);
  color: #a9bcc8;
  font-size: 0.8125rem;
}

.firm-footer p {
  margin: 0;
  max-width: 42ch;
}

.sticky-call {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--hvac-sticky-h);
  background: var(--hvac-steel);
  color: var(--hvac-ice);
  font-weight: 700;
  text-decoration: none;
}

.sticky-call:hover {
  color: var(--hvac-ice);
  background: var(--hvac-steel-deep);
}

@media (min-width: 720px) {
  .sticky-call {
    display: none;
  }
}
