/* Static site template — one stylesheet.
   Re-skin a site by changing the custom properties in :root.
   Layout: header (logo + menu) / main (hero + bands) / footer. Mobile breakpoint: 767px.
   Adler HVAC: cyan accents, white sticky header, full-bleed photo heroes.
   The wordmark is dark on a transparent logo, so it sits directly on the white header. */

/* ---------- Fonts (self-hosted, SIL Open Font License, see /assets/fonts/OFL.txt) ---------- */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-stretch: 100%; font-display: swap;
  src: url("/assets/fonts/roboto-latin-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: italic; font-weight: 100 900; font-stretch: 100%; font-display: swap;
  src: url("/assets/fonts/roboto-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Brand tokens ---------- */
:root {
  --brand: #00a0dc;
  --brand-ink: #006a99;          /* text, links, button fills: 5.9:1 on white */
  --brand-ink-hover: #08557d;
  --header-bg: #ffffff;
  --menu: #243240;
  --menu-active: #006a99;
  --text: #243240;
  --heading: #102433;
  --muted: #5c6b76;
  --bg: #fff;
  --bg-alt: #e7eef3;
  --line: #d5dee6;
  --input-line: #b7c6d1;
  --required: #b42318;
  --font: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-heading: var(--font);
  --body-weight: 300;
  --container: 960px;
  --header-h: 88px;
  --radius: 6px;
  --gutter: 32px;
}
@media (max-width: 767px) { :root { --header-h: 64px; --gutter: 21px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 10px); color-scheme: light; }
body { margin: 0; background: var(--bg); color: var(--text); font: var(--body-weight) 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
@media (max-width: 767px) { body { font-size: 14px; } }
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { color: var(--brand-ink-hover); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 2px; }
strong { font-weight: 700; }
p { margin: 0 0 1em; }
/* A heading belongs to the copy under it. Drop the paragraph gap so the
   heading's own top margin is the only space, and that space stays the same
   on every page. */
p:has(+ h2), p:has(+ h3), ul:has(+ h2), ul:has(+ h3) { margin-bottom: 0; }
ul { margin: 0 0 1em; padding-left: 1.4em; }
.text { margin: 0 0 1em; }
.text ul { margin: .5em 0 0; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--heading); margin: 0 0 .45em; line-height: 1.25; }
h1 { font-size: 1.75em; font-weight: 300; }
h2 { font-size: 1.7em; font-weight: 500; margin-top: 1.15em; scroll-margin-top: calc(var(--header-h) + 16px); }
h3 { font-size: 1.15em; font-weight: 700; margin: 1.1em 0 .35em; scroll-margin-top: calc(var(--header-h) + 16px); }
h2.h-col { font-size: 1.5em; font-weight: 400; }
h2.h-sm { font-size: 1.125em; }
h2.h-lg { font-size: 2em; }
h2.h-label { font-size: 13px; letter-spacing: .02em; margin-bottom: 1.2em; }
.ta-c { text-align: center; }
.ta-r { text-align: right; }
.clear { clear: both; height: 0; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.sr-only { position: absolute !important; 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: 8px; top: -60px; z-index: 100; background: var(--brand-ink); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--radius) var(--radius); }
.skip-link:focus { top: 0; color: #fff; text-decoration: none; }

/* ---------- Header and menu ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); box-shadow: 0 0 7px rgba(0, 0, 0, .1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 var(--gutter); }
.logo { display: block; flex: 0 0 auto; line-height: 0; background: transparent; }
.logo img { width: auto; height: 64px; max-width: min(280px, 46vw); display: block; }
.header-wa { margin-left: auto; margin-right: 16px; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px; border: 2px solid var(--brand); border-radius: var(--radius); color: var(--brand-ink); font: 400 13px/1 var(--font); text-transform: uppercase; white-space: nowrap; }
.header-wa:hover { background: var(--brand); border-color: var(--brand); color: #fff; text-decoration: none; }
.header-wa-short { display: none; }
.nav-toggle { display: none; }
.menu, .sub { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; }
.menu > li { position: relative; }
.menu > li > a { display: flex; align-items: center; min-height: 44px; padding: 22px 10px; font-size: 14px; line-height: 1.2; text-transform: uppercase; color: var(--menu); }
.menu > li:last-child > a { padding-right: 0; }
.menu a:hover, .menu > li.is-active > a, .menu a[aria-current="page"] { color: var(--menu-active); text-decoration: none; }
@media (min-width: 768px) {
  .menu > li.is-active > a, .menu a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--brand); }
}
.sub-toggle { display: none; }
.sub { display: none; position: absolute; left: 15px; top: 100%; min-width: 180px; padding: 8px 0; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(0, 0, 0, .08); }
.sub a { display: flex; align-items: center; min-height: 44px; padding: 8px 20px; font-size: 13px; line-height: 1.3; text-transform: none; color: var(--menu); white-space: nowrap; }
.sub a:hover { color: var(--brand-ink); }
@media (min-width: 768px) {
  .menu > li.has-sub:hover > .sub, .menu > li.has-sub:focus-within > .sub, .menu > li.has-sub.is-open > .sub { display: block; }
}
@media (max-width: 1023px) {
  .logo img { width: auto; height: 52px; }
  .menu > li > a { padding: 20px 8px 20px 12px; font-size: 13px; }
  .header-wa { margin-right: 8px; padding: 8px 10px; }
  .header-wa-long { display: none; }
  .header-wa-short { display: inline; }
}
@media (max-width: 767px) {
  .site-header { position: sticky; }
  .header-inner { position: relative; justify-content: center; }
  .logo img { width: auto; height: 44px; }
  .header-wa { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); margin: 0; padding: 8px 10px; }
  .header-wa-long { display: none; }
  .header-wa-short { display: inline; }
  .nav-toggle { display: block; position: absolute; left: 8px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; margin: 0; padding: 10px; border: 0; background: none; cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 3px; background: #102433; transition: transform .2s; }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - var(--header-h)); overflow-y: auto; background: #fff; padding: 10px var(--gutter) 20px; box-shadow: 0 8px 16px rgba(0, 0, 0, .12); }
  .site-nav.is-open { display: block; }
  .menu { display: block; text-align: center; }
  .menu > li > a, .menu > li:last-child > a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 44px; font-size: 18px; line-height: 1.3; text-transform: none; color: var(--menu); }
  .sub-toggle { display: flex; align-items: center; justify-content: center; position: absolute; right: 0; top: 0; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--menu); }
  .sub-toggle::before { content: "+"; font: 300 22px/1 var(--font); }
  .sub-toggle[aria-expanded="true"]::before { content: "\2212"; }
  .sub { position: static; box-shadow: none; border: 0; padding: 0 0 6px; min-width: 0; background: transparent; }
  .sub.is-open { display: block; }
  .sub a { font-size: 15px; line-height: 1.4; padding: 2px 20px; text-transform: none; white-space: normal; color: var(--menu); }
}

/* ---------- Hero (page title banner) ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: var(--hero-h, 280px); color: #fff; text-align: center;
  background-color: #063454;
  background-image: linear-gradient(165deg, rgba(4, 16, 28, .2), rgba(0, 160, 220, .18)), linear-gradient(160deg, #041525 0%, #0a4e78 52%, #0e8ec4 100%);
  background-size: cover;
  background-position: center; }
.hero--home { background-image: linear-gradient(165deg, rgba(4, 16, 28, .12), rgba(0, 190, 230, .2)), linear-gradient(155deg, #03101c 0%, #08486e 40%, #12a0dc 100%); }
/* Full-bleed photo. A light wash keeps the picture visible; the card carries the type. */
.hero.hero--photo {
  background-color: #041525;
  background-image:
    linear-gradient(90deg, rgba(4, 16, 28, .42) 0%, rgba(4, 16, 28, .16) 46%, rgba(4, 16, 28, .05) 100%),
    var(--hero-image);
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  background-position: center center, var(--hero-pos, center center);
  background-attachment: scroll, scroll;
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .hero.hero--photo { background-attachment: scroll, fixed; }
}
.hero > .container { width: 100%; padding-top: 48px; padding-bottom: 48px; }
.hero-card { display: inline-block; width: min(100%, 38rem); max-width: 38rem; background: rgba(4, 16, 28, .78); padding: 28px 28px 22px; text-align: left; }
.hero--left { text-align: left; }
.hero--left .hero-card { margin-right: auto; }
.hero h1 { color: #fff; font-size: 56px; font-weight: 700; line-height: 1.05; margin: 0 auto .35em; max-width: 16em; }
.hero--left h1, .hero-card h1 { margin-left: 0; margin-right: 0; max-width: 12em; }
.hero--home h1 { max-width: 11em; }
.hero p { color: #fff; font-size: 1.15em; }
.hero a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 0.15em; }
.hero a:not(.btn):hover { color: #fff; }
.hero--left { text-align: left; }
.hero .btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 22px 0 0; }
.hero-card .btn-row { justify-content: flex-start; }
.hero h1:last-child { margin-bottom: 0; }
.page-contact .hero h1 { font-size: 48px; line-height: 1.1; }
.page-post .hero h1 { font-size: 40px; line-height: 1.15; max-width: 18em; }
img.logo-mark { width: 310px; max-width: 100%; height: auto; }
@media (max-width: 767px) {
  .hero, .hero--home { min-height: 420px; align-items: flex-end; background-attachment: scroll; }
  .hero.hero--photo { background-attachment: scroll, scroll; }
  .hero > .container { padding-top: 24px; padding-bottom: 20px; }
  .hero-card { width: 100%; padding: 20px 16px 14px; }
  .hero h1 { font-size: 32px; margin-bottom: .35em; }
  .page-contact .hero h1, .page-post .hero h1 { font-size: 32px; line-height: 1.1; }
  .hero .btn-row { flex-direction: column; align-items: stretch; gap: 16px; margin: 16px 0 0; }
  .hero p { font-size: 1em; }
}

/* ---------- Content bands ---------- */
.container { max-width: var(--container); margin: 0 auto; }
.band > .container { padding: 56px 0; }
.band--grey { background: var(--bg-alt); }
.band--plain > .container { padding: 40px 0; }
.band--center > .container { padding: 116px 0; text-align: center; }
.band > .container > :last-child, .col > :last-child { margin-bottom: 0; }
.col > h2:first-child,
.col > h3:first-child,
.band > .container > h2:first-child,
.band > .container > h3:first-child { margin-top: 0; }
@media (max-width: 1023px) { .container, .band > .container, .band--plain > .container, .band--center > .container { padding-left: var(--gutter); padding-right: var(--gutter); } .hero > .container { padding-left: var(--gutter); padding-right: var(--gutter); } }
@media (max-width: 767px) { .band > .container, .band--plain > .container { padding-top: var(--gutter); padding-bottom: var(--gutter); } .band--center > .container { padding-top: 60px; padding-bottom: 60px; } h2 { font-size: 24.5px; } }

.cols { display: grid; grid-template-columns: var(--tpl, repeat(var(--n, 2), minmax(0, 1fr))); column-gap: var(--gap, 30px); align-items: start; }
.cols-2 { --n: 2; } .cols-3 { --n: 3; }
@media (max-width: 767px) { .cols { grid-template-columns: minmax(0, 1fr); row-gap: 0.75rem; } .cols > .col + .col { margin-top: 0; } }

.float-left { float: left; margin: 10px 18px 10px 0; }
figure.img { margin: 0; padding: 0; }
figure.img img { width: 100%; height: auto; display: block; }
.cols.split { align-items: start; column-gap: 40px; }
.cols.split.split--top { align-items: start; }
.split figure.img { margin: 0; }
/* Same measure on every row: heading or photo in the narrow column, copy in the wide one. */
.cols.rhythm { --tpl: minmax(0, 2fr) minmax(0, 3fr); column-gap: 48px; align-items: start; }
.cols.rhythm + .cols.rhythm { margin-top: 36px; }
.cols.rhythm h2 { margin: 1.15em 0 0.4em; }
.cols.rhythm > .col > h2:first-child { margin-top: 0; }
.cols.rhythm > .col > h2:only-child { margin: 0; }
.cols.rhythm .col > p { margin: 0 0 0.9em; }
.cols.rhythm .col > p:last-child,
.cols.rhythm .col > p:has(+ h2) { margin-bottom: 0; }
.cols.rhythm figure.img img { width: 100%; height: auto; max-height: 260px; object-fit: cover; object-position: center; }
.cols.product { --tpl: minmax(168px, 220px) minmax(0, 1fr); column-gap: 36px; align-items: start; }
.cols.product + .cols.product { margin-top: 40px; }
.cols.product img.logo-mark { display: block; width: 100%; max-width: 220px; height: auto; }
.cols.product h2 { margin: 0 0 0.4em; font-size: 1.45em; line-height: 1.3; text-wrap: balance; }
.cols.product ul { margin: 0 0 1em; line-height: 1.85; }
.cols.product .btn-row { margin: 0; }
.price-note { margin: 28px 0 0; text-align: right; }
.cols + h2, .cols + h3, figure.img + h2, figure.img + h3, .photo-band + h2, .photo-band + h3 { margin-top: 1.15em; }
.photo-band { margin: 0; padding: 0; overflow: hidden; }
.photo-band img { width: 100%; height: clamp(200px, 42vw, 440px); object-fit: cover; display: block; }
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
@media (hover: hover) and (pointer: fine) {
  figure.img, .photo-band { overflow: hidden; }
  figure.img img, .photo-band img { transition: transform .45s ease; }
  figure.img:hover img, .photo-band:hover img { transform: scale(1.035); }
}
@media (max-width: 767px) {
  .float-left { float: none; display: block; width: 100%; max-width: none; margin: 0 0 1.2em; }
  .cols { row-gap: 0.75rem; }
  .cols > .col + .col { margin-top: 0; }
  .cols.split { row-gap: 0.75rem; }
  .cols.rhythm + .cols.rhythm, .cols.product + .cols.product { margin-top: 1.5rem; }
  .cols.rhythm > .col:empty, .cols.product > .col:empty { display: none; }
  .cols.rhythm figure.img img { max-height: 220px; }
  .price-note { text-align: left; }
}

.btn-row { margin: 10px 0 20px; }
.col .btn-row.ta-c { margin-top: 20px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 2px solid var(--brand-ink); border-radius: var(--radius); font: 400 14.4px/1 var(--font); text-transform: uppercase; text-align: center; padding: 12px 24px; cursor: pointer; transition: background-color .15s, color .15s; background: transparent; }
.btn:hover { text-decoration: none; }
.btn--lg { font-size: 16px; padding: 16px 28px; }
.btn--solid { background: var(--brand-ink); color: #fff; }
.btn--solid:hover { background: var(--brand-ink-hover); border-color: var(--brand-ink-hover); color: #fff; }
.btn--outline { background: #fff; color: var(--brand-ink); }
.btn--outline:hover { background: var(--brand-ink); color: #fff; }
.hero .btn--solid { background: #fff; border-color: #fff; color: var(--brand-ink); }
.hero .btn--solid:hover { background: transparent; color: #fff; }
.hero .btn--outline { background: transparent; border-color: #fff; color: #fff; }
.hero .btn--outline:hover { background: #fff; color: var(--brand-ink); }
@media (max-width: 767px) {
  .btn { font-size: 14px; padding: 12px 16px; }
  .btn--lg { font-size: 15px; padding: 12px 18px; }
  .btn-row { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }
  .btn-row .btn, .hero .btn-row .btn { width: 100%; max-width: none; margin: 0; }
}

.table-wrap { overflow-x: auto; margin: 0 0 1.7em; -webkit-overflow-scrolling: touch; }
.data-table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.5; }
.data-table th, .data-table td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.data-table thead th, .data-table tbody th { background: #f3f7fa; font-weight: 700; }
.data-table tbody th { background: #fafafa; }

.map iframe { display: block; width: 100%; height: 250px; border: 0; margin: 10px 0 15px; }

/* ---------- Forms ---------- */
.form { margin-top: 10px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-style: italic; font-size: 14px; margin: 0 0 .3em; }
.req { color: var(--required); }
.field { max-width: 400px; margin: 0 0 30px; padding: 0; border: 0; min-width: 0; }
.label { display: block; font-weight: 700; margin: 0 0 10px; padding: 0; font-size: 1em; line-height: 1.2; color: var(--text); }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 44px; font: 400 1em/1.3 var(--font); color: var(--text); background: #fff; border: 1px solid var(--input-line); border-radius: 3px; padding: 10px; }
.field select { height: 44px; padding: 0 8px; }
.field--check { max-width: 34em; }
.field--check .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; min-height: 44px; cursor: pointer; }
.field--check input { width: 22px; height: 22px; min-height: 22px; flex: 0 0 auto; margin-top: 2px; }
.field textarea { height: 120px; resize: vertical; }
.field .w-370 { max-width: 370px; }
.field .w-500 { max-width: 500px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-ink); outline: 1px solid var(--brand-ink); }
.name-row { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 11fr); gap: 20px; max-width: 400px; }
.sublabel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form .col > .field:last-child { margin-bottom: 30px; }
.form-actions { margin: 10px 0; }
.form-actions .btn[disabled] { opacity: .6; cursor: wait; }
.form-error { color: var(--required); }

/* ---------- Footer ---------- */
.site-footer { background: #f3f7fa; color: var(--text); border-top: 1px solid var(--line); padding: 28px 0 36px; }
.site-footer > .container { padding: 28px var(--gutter) 8px; text-align: center; }
.site-footer a { color: var(--brand-ink); }
.site-footer a:hover { color: var(--brand-ink-hover); }
.footer-brand { margin: 0 0 .35em; font-weight: 500; letter-spacing: .01em; color: var(--heading); }
.footer-contact { margin: 0 0 .35em; }
.footer-meta { margin: 0 0 .3em; font-size: 13px; line-height: 1.45; color: var(--muted); }
.site-footer nav { margin-top: .9em; }
.callout { background: #f4fbfe; border: 1px solid #c5e6f6; border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 22px 24px 8px; }
.callout h2 { font-size: 1.5em; margin-top: 0; }
.note-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 18px 2px; }
.footer-links { list-style: none; margin: 0; padding: 0; font: 400 14px/1.4 var(--font); }
.footer-links li { display: inline; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }
.footer-links li + li::before { content: "|"; color: rgba(16, 36, 51, .35); margin: 0 .55em; }
@media (max-width: 767px) {
  .site-footer { padding: 0 0 12px; }
  .site-footer > .container { padding: var(--gutter); }
  .footer-links li { display: block; }
  .footer-links li + li::before { content: none; }
  .footer-links a { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero.hero--photo { background-attachment: scroll, scroll !important; }
  .js .reveal { opacity: 1; transform: none; }
  figure.img:hover img, .photo-band:hover img { transform: none; }
}
@media print { .site-header, .site-footer, .map { display: none; } .hero, .hero.hero--photo { color: #000; background: none; min-height: 0; } .hero-card { background: none; padding: 0; } .hero h1, .hero p { color: #000; } .hero h1 { font-size: 28px; } }
