/* Velair Heating & Cooling. Bold trade system: van navy + arrow red, Archivo. */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --navy-950: #071830;
  --navy-900: #0A2242;
  --navy-800: #0E2D57;
  --navy: #0B3A78;
  --navy-100: #E6EDF6;
  --red: #D90A00;
  --red-700: #B00800;
  --ink: #111C2B;
  --body: #2F3D50;
  --muted: #5B6B80;
  --line: #DCE3EC;
  --paper: #F4F6F9;
  --white: #FFFFFF;
  --star: #F5B301;
  --radius: 8px;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgb(10 34 66 / 0.06), 0 8px 24px rgb(10 34 66 / 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: "Archivo", "Segoe UI", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  font-stretch: 100%;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

h1, h2, h3 {
  color: var(--ink);
  font-stretch: 86%;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0;
}
h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.02; }
h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; }
h3 { font-size: 21px; line-height: 1.2; font-stretch: 92%; font-weight: 750; }
p { margin: 0; }
.lede { font-size: 20px; line-height: 1.5; max-width: 36ch; }
.section-head { margin-bottom: 32px; max-width: 640px; }
.section-head p { margin-top: 12px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 3px solid var(--star);
  outline-offset: 3px;
}
.btn-call { background: var(--red); color: var(--white); }
.btn-call:hover { background: var(--red-700); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy-900); }
.btn-light:hover { background: var(--navy-100); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgb(255 255 255 / .55); }
.btn-outline-light:hover { border-color: var(--white); background: rgb(255 255 255 / .08); }
.btn-lg { min-height: 60px; font-size: 19px; padding: 0 26px; }

/* ---------- Top strip + header ---------- */
.strip { background: var(--navy-950); color: rgb(255 255 255 / .82); font-size: 14px; }
.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.strip-items { display: flex; gap: 22px; align-items: center; }
.strip-items span { display: inline-flex; gap: 7px; align-items: center; }
.strip .icon { color: var(--star); width: 15px; height: 15px; }
.strip a { color: var(--white); font-weight: 650; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { margin-right: auto; display: flex; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav > a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav > a:hover { color: var(--red); }
.header-ctas { display: flex; gap: 10px; }
.header-ctas .btn { min-height: 46px; font-size: 16px; padding: 0 16px; }
.menu-btn, .call-icon { display: none; }

/* ---------- Hero ---------- */
.hero { background: var(--navy-900); color: var(--white); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; min-height: 600px; }
.hero-copy {
  padding: 64px 48px 64px max(20px, calc((100vw - var(--wrap)) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.hero h1 { color: var(--white); }
.hero h1 .line { display: block; }
.hero h1 em { font-style: normal; color: #FF4B3E; }
.hero .lede { color: rgb(255 255 255 / .86); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { position: relative; min-height: 360px; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy-900) 0%, rgb(10 34 66 / 0) 22%);
  pointer-events: none;
}
.rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  padding: 10px 16px 10px 12px;
  border-radius: var(--radius);
  background: rgb(255 255 255 / .08);
  border: 1px solid rgb(255 255 255 / .18);
  color: var(--white);
  text-decoration: none;
  transition: background-color .15s ease;
}
.rating:hover { background: rgb(255 255 255 / .14); }
.rating .g { width: 30px; height: 30px; border-radius: 50%; background: var(--white); display: grid; place-items: center; flex: none; }
.rating .g svg { width: 16px; height: 16px; fill: #4285F4; }
.rating b { font-size: 22px; font-weight: 800; line-height: 1; }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars .icon { width: 17px; height: 17px; }
.rating small { display: block; font-size: 14px; color: rgb(255 255 255 / .78); }

/* ---------- Proof bar ---------- */
.proof { border-bottom: 1px solid var(--line); background: var(--white); }
.proof ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: 1.1fr 1fr 1.05fr 1.15fr auto; align-items: center; }
.proof li:first-child { padding-left: 0; }
.proof li { display: flex; align-items: center; gap: 12px; padding: 18px 16px; font-weight: 650; color: var(--ink); font-size: 16px; line-height: 1.3; }
.proof li + li { border-left: 1px solid var(--line); }
.proof .icon { width: 28px; height: 28px; color: var(--red); flex: none; }
.proof small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.proof .bbb { padding: 10px 8px 10px 14px; }
.proof .bbb a { display: block; line-height: 0; }
.proof .bbb img { height: 52px; width: auto; display: block; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-paper { background: var(--paper); }
.section-navy { background: var(--navy-900); color: rgb(255 255 255 / .86); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .section-head p { color: rgb(255 255 255 / .75); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--body);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.service:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); }
.service img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.service-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-body p { font-size: 16px; color: var(--muted); }
.service .more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 700; font-size: 16px; }

/* Two paths */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path {
  border: 1px solid rgb(255 255 255 / .16);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--navy-800);
}
.path .icon-badge { width: 52px; height: 52px; border-radius: var(--radius); display: grid; place-items: center; background: var(--red); color: var(--white); }
.path .icon-badge .icon { width: 28px; height: 28px; }
.path.alt .icon-badge { background: var(--white); color: var(--navy); }
.path p { font-size: 17px; }
.path .btn { align-self: flex-start; margin-top: 6px; }

/* Reviews */
.reviews-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.score { display: flex; align-items: center; gap: 16px; }
.score b { font-size: 56px; font-weight: 850; font-stretch: 86%; line-height: 1; color: var(--ink); }
.score .stars .icon { width: 22px; height: 22px; }
.score small { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review blockquote { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.5; }
.review figcaption { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; }
.review figcaption b { color: var(--ink); display: block; }
.review figcaption span { color: var(--muted); }
.src { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.src svg { width: 16px; height: 16px; }
.src-google svg { fill: #4285F4; }
.src-yelp svg { fill: #D32323; }
.reviews-foot { margin-top: 28px; display: flex; gap: 26px; flex-wrap: wrap; font-weight: 650; }
.reviews-foot a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }

/* About */
.about { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: center; }
.about-photo { border-radius: var(--radius); overflow: hidden; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.about-copy { display: flex; flex-direction: column; gap: 18px; }
.facts { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.facts .icon { color: var(--red); width: 22px; height: 22px; margin-top: 2px; }
.facts a { font-weight: 650; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* Area */
.area { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.area-copy { display: flex; flex-direction: column; gap: 16px; }
.counties { display: grid; gap: 24px; }
.county h3 { font-size: 17px; margin-bottom: 10px; color: var(--navy); font-stretch: 100%; font-weight: 750; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.chips li.home { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2.5px solid var(--red);
  border-bottom: 2.5px solid var(--red);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; max-width: 64ch; }

/* CTA band */
.cta-band { background: var(--red); color: var(--white); padding: 64px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); }
.cta-band p { margin-top: 8px; color: rgb(255 255 255 / .92); }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-light { color: var(--red-700); }

/* Footer */
.site-footer { background: var(--navy-950); color: rgb(255 255 255 / .78); padding: 64px 0 40px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .footer-logo { height: 44px; width: auto; }
.site-footer h3 { color: var(--white); font-size: 16px; font-stretch: 100%; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgb(255 255 255 / .9); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-phone { display: inline-block; margin-top: 18px; font-size: 24px; font-weight: 800; color: var(--white) !important; }
.footer-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .12); font-size: 14px; color: rgb(255 255 255 / .6); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

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

/* ---------- Service pages ---------- */
.crumbs { font-size: 15px; color: rgb(255 255 255 / .7); }
.crumbs a { color: rgb(255 255 255 / .9); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split h2 { margin-bottom: 20px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { color: var(--red); width: 22px; height: 22px; margin-top: 3px; }
.signs { background: var(--paper); border-radius: var(--radius); padding: 30px; }
.signs h3 { margin-bottom: 16px; }
.safety { margin-top: 20px; padding: 16px 18px; border-left: 4px solid var(--red); background: var(--white); font-size: 16px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.pair img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.single-review { max-width: 760px; margin: 0; }
.single-review blockquote { margin: 0; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.4; color: var(--white); font-weight: 600; font-stretch: 92%; }
.single-review figcaption { margin-top: 18px; color: rgb(255 255 255 / .75); display: flex; gap: 14px; align-items: center; }

.more-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; }
.more-link:hover { color: var(--red); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav > a { display: none; }
  .services, .reviews { grid-template-columns: 1fr 1fr; }
  .proof ul { grid-template-columns: 1fr 1fr; }
  .proof li:nth-child(odd) { border-left: 0; }
  .proof li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .proof .bbb { grid-column: 1 / -1; justify-content: center; border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  body { font-size: 17px; padding-bottom: 76px; }
  .strip { display: none; }
  .site-header .wrap { height: 64px; gap: 10px; }
  .brand img { height: 38px; }
  .header-ctas { display: none; }
  .call-icon {
    display: inline-flex;
    width: 46px; height: 46px;
    border-radius: var(--radius);
    background: var(--red);
    color: var(--white);
    align-items: center;
    justify-content: center;
  }
  .menu-btn {
    display: inline-flex;
    width: 46px; height: 46px;
    border-radius: var(--radius);
    border: 1.5px solid var(--line);
    background: var(--white);
    color: var(--ink);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
  }
  .menu-btn .icon, .call-icon .icon { width: 22px; height: 22px; }
  .nav {
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav > a { display: block; padding: 16px 20px; border-top: 1px solid var(--line); font-size: 18px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 36px 20px 32px; gap: 18px; }
  .hero h1 { font-size: 37px; }
  .hero .lede { font-size: 18px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-photo { min-height: 300px; }
  .hero-photo::after { background: linear-gradient(180deg, var(--navy-900) 0%, rgb(10 34 66 / 0) 18%); }
  .proof li { padding: 16px 12px; font-size: 15px; }
  .proof .icon { width: 24px; height: 24px; }
  .section { padding: 60px 0; }
  .services, .paths, .about, .area, .split, .footer-grid { grid-template-columns: 1fr; }
  .services { gap: 12px; }
  .service { flex-direction: row; align-items: stretch; }
  .service img { width: 112px; aspect-ratio: auto; height: auto; min-height: 112px; flex: none; }
  .service-body { padding: 14px 16px; gap: 4px; justify-content: center; }
  .service-body h3 { font-size: 18px; }
  .service-body p { font-size: 15px; line-height: 1.4; }
  .service .more { display: none; }
  .reviews { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; margin-right: -20px; padding-right: 20px; }
  .review { flex: 0 0 84%; scroll-snap-align: start; }
  .reviews-head { flex-direction: column; align-items: flex-start; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .about { gap: 28px; }
  .path { padding: 26px; }
  .cta-band { padding: 48px 0; }
  .cta-band .actions, .cta-band .actions .btn { width: 100%; }
  .callbar {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 30;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgb(10 34 66 / .08);
  }
  .callbar .btn { min-height: 52px; padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .btn:active, .service:hover { transform: none; }
}
