/* CornerBridge HVAC LLC: vivid cooling blue and furnace-flame orange with steel grey on a pale blue tint;
   narrow document-like column; classic serif headings over a grotesque sans; centred logo with the nav
   below; numbered service items with large numerals; soft shadows and no borders; faint airflow motif */
@font-face {
  font-family: "Gelasio";
  src: url("fonts/gelasio-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("fonts/work-sans-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("fonts/work-sans-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --tint: #eaf3fc;
  --blue: #1e7fd8;
  --blue-dk: #145da3;
  --flame: #e8590c;
  --flame-dk: #c2410c;
  --steel: #9aa7b4;
  --navy: #0a182c;
  --ink: #1a2b3c;
  --muted: #4f6072;
  --white: #ffffff;
  --serif: "Gelasio", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", "Segoe UI", Arial, sans-serif;
  --shadow: 0 10px 30px rgba(20, 60, 110, .12), 0 2px 6px rgba(20, 60, 110, .08);
  --col: 820px;
  --r: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--tint) url("assets/motif-airflow.svg") repeat; background-size: 160px 60px; color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dk); text-underline-offset: 3px; }
a:hover { color: var(--flame-dk); }
:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; border-radius: 6px; }
h1, h2 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0 0 .45em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.05rem); }
h3 { font-weight: 700; font-size: 1.04rem; line-height: 1.3; margin: 0 0 3px; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip-link:focus { left: 8px; }
.col { width: min(100% - 36px, var(--col)); margin-inline: auto; }

/* centred logo, nav below */
.site-header { background: var(--white); box-shadow: 0 4px 18px rgba(20, 60, 110, .08); }
.head-in { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 0 12px; text-align: center; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.brand img { width: 80px; height: auto; border-radius: 18px; box-shadow: var(--shadow); }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; line-height: 1.1; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; }
.main-nav a { display: inline-block; padding: 8px 16px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 700; font-size: .95rem; }
.main-nav a:hover { color: var(--ink); background: var(--tint); }
.main-nav a[aria-current="page"] { color: var(--white); background: var(--blue); }

/* document column */
.hero { padding: 48px 0 14px; text-align: center; }
.hero.small { padding: 44px 0 10px; }
.kicker { font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--flame-dk); margin-bottom: .8em; }
.lede { font-size: 1.16rem; color: var(--muted); max-width: 36em; margin-inline: auto; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero .btn-row { justify-content: center; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 12px; font-weight: 700; text-decoration: none; box-shadow: 0 6px 16px rgba(20, 60, 110, .16); }
.btn.blue { background: var(--blue); color: var(--white); }
.btn.blue:hover { background: var(--blue-dk); color: var(--white); }
.btn.flame { background: var(--flame); color: var(--white); }
.btn.flame:hover { background: var(--flame-dk); color: var(--white); }
.art { margin: 30px 0 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.hero-art { width: 100%; }
.block { padding: 34px 0 6px; }
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cat-list a { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--r); background: var(--white); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.cat-list a:hover { box-shadow: 0 14px 36px rgba(20, 60, 110, .2); }
.cat-list img { width: 56px; flex: none; }
.cn { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; }
.cc { display: block; color: var(--muted); font-size: .92rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); padding: 14px 18px 14px 48px; position: relative; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 18px; top: 1.15em; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 50% 60%, var(--flame) 45%, transparent 47%), var(--tint); }
.ticks strong { color: var(--ink); }
.spot { background: var(--white); border-radius: 22px; box-shadow: var(--shadow); padding: 30px 32px; margin-bottom: 40px; }
.spot p:last-of-type { color: var(--muted); font-size: 1.08rem; }

/* numbered items */
.jump { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.jump a { display: inline-block; padding: 6px 14px; border-radius: 10px; background: var(--white); box-shadow: 0 3px 10px rgba(20, 60, 110, .1); text-decoration: none; font-weight: 700; font-size: .9rem; }
.cat { scroll-margin-top: 14px; padding: 34px 0 6px; }
.cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.cat-head img { width: 54px; }
.cat-head h2 { margin: 0; }
.num-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.num-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 16px; align-items: center; padding: 16px 20px; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); }
.num { font-family: var(--serif); font-weight: 700; font-size: 2.8rem; line-height: 1; color: var(--blue); opacity: .9; }
.num-body p { margin: 0; color: var(--muted); font-size: .95rem; }
.pr { margin: 0; text-align: right; font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--flame-dk); white-space: nowrap; }
.unit { display: block; font-family: var(--sans); font-weight: 400; font-size: .8rem; color: var(--muted); }
.q { display: block; font-family: var(--sans); font-weight: 700; font-size: .82rem; line-height: 1.35; color: var(--blue-dk); white-space: normal; max-width: 9em; }
.offers { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.offer { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 22px; border-left: 0; }
.offer p { margin: 0; color: var(--muted); }
.amt { color: var(--flame-dk); white-space: nowrap; }
.cat:last-child { padding-bottom: 56px; }

/* about / contact */
.story .first { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; line-height: 1.45; }
.story p { color: var(--muted); }
.card { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px 24px; }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 10em 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid #e3ecf5; }
.facts div:first-child { border-top: 0; }
.facts dt { font-weight: 700; color: var(--blue-dk); }
.facts dd { margin: 0; }
address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-family: var(--serif); font-weight: 700; font-size: clamp(1.55rem, 3vw, 2.05rem); margin-bottom: 10px; }
.hours th, .hours td { text-align: left; padding: 10px 4px; border-top: 1px solid #e3ecf5; }
.hours thead th { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-top: 0; }
.map-frame { width: 100%; height: 360px; border: 0; border-radius: var(--r); box-shadow: var(--shadow); display: block; background: var(--white); }
.map-link { margin: 14px 0 50px; font-weight: 700; }

/* footer */
.site-footer { background: var(--navy); color: #c3d2e2; padding: 42px 0 26px; text-align: center; }
.site-footer a { color: var(--white); }
.footer-name { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; color: var(--white); margin-bottom: .2em; }
.footer-list { list-style: none; margin: 16px 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
.footer-bottom { margin: 0; font-size: .86rem; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand img { width: 68px; }
  .brand-name { font-size: 1.3rem; }
  .main-nav ul { gap: 4px 2px; }
  .main-nav a { padding: 6px 7px; font-size: .86rem; }
  .num-item { grid-template-columns: 48px 1fr; gap: 6px 12px; padding: 14px 16px; }
  .num { font-size: 2rem; grid-row: span 2; align-self: start; }
  .pr { grid-column: 2; text-align: left; }
  .q { max-width: none; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .card { padding: 16px 18px; }
  .spot { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
