/* =====================================================================
   Only HVAC LLC — stylesheet
   Brand palette inspired by the logo (signature cyan + clean white).
   Everything is driven by the CSS variables below, so the whole site
   can be re-skinned by editing just these values.
   ===================================================================== */

:root {
  --blue:        #00aff0;   /* signature cyan */
  --blue-dark:   #008ccf;   /* hover / pressed */
  --blue-deep:   #006fa6;   /* deep accent */
  --blue-tint:   #e9f8ff;   /* light section wash */
  --blue-tint-2: #f4fbff;
  --ink:         #16242c;   /* near-black headings */
  --body:        #4a5b66;   /* body text */
  --muted:       #7c8b95;
  --line:        #e3edf3;
  --white:       #ffffff;
  --radius:      16px;
  --radius-pill: 999px;
  --shadow-sm:   0 2px 10px rgba(16,40,55,.06);
  --shadow:      0 10px 30px rgba(16,40,55,.10);
  --shadow-lg:   0 24px 60px rgba(0,120,170,.18);
  --max:         1160px;
  --font:        "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ----- reset ----- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
h1,h2,h3,h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* ----- layout helpers ----- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section--tint { background: var(--blue-tint-2); }
.section--blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #eaf9ff;
}
.section--blue h2, .section--blue h3 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 14px;
}
.section--blue .eyebrow { color: #d4f3ff; }
.lead { font-size: 1.12rem; color: var(--body); }
.section--blue .lead { color: #eaf9ff; }

/* ----- buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font); font-weight: 600; font-size: 1rem;
  padding: 14px 30px; border-radius: var(--radius-pill);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(0,175,240,.35); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,175,240,.45); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--blue-deep); }
.btn-outline { background: #fff; color: var(--blue-dark); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* =====================================================================
   Header / navigation
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__logo img { height: 42px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav__links a:hover { color: var(--blue-dark); }
.nav__cta { display: flex; align-items: center; gap: 16px; }
.nav__phone { font-weight: 700; color: var(--ink); white-space: nowrap; }
.nav__phone:hover { color: var(--blue-dark); }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav__toggle span { display: block; width: 26px; height: 3px; background: var(--ink); border-radius: 3px; margin: 5px 0; transition: .25s; }
/* the in-menu "Request Service" button only exists on mobile */
.nav__cta-mobile { display: none; }

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  position: relative;
  color: #fff;
  background: #04222f;
}
.hero__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .42;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(0,86,128,.85) 0%, rgba(2,34,47,.55) 60%, rgba(2,34,47,.25) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 110px 0 120px; max-width: 760px; }
.hero__tagline {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  font-weight: 600; color: #bff0ff; margin-bottom: 18px; letter-spacing: .01em;
}
.hero h1 {
  color: #fff; font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 800;
  margin-bottom: 20px; letter-spacing: -.01em;
}
.hero p.sub { font-size: 1.18rem; color: #e7f7ff; max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 40px; }
.hero__badge { display: flex; align-items: center; gap: 9px; font-size: .95rem; color: #dff6ff; font-weight: 500; }
.hero__badge svg { flex: 0 0 auto; }

/* ----- trust strip ----- */
.trust { background: var(--blue); color: #fff; }
.trust__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; padding: 22px 0; text-align: center; }
.trust__item { font-weight: 600; font-size: .98rem; display: flex; flex-direction: column; gap: 2px; }
.trust__item strong { font-size: 1.45rem; font-weight: 800; }

/* =====================================================================
   Services
   ===================================================================== */
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cdeefc; }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--blue-tint); color: var(--blue-dark);
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: .4em; }
.card p { font-size: .98rem; margin: 0; color: var(--body); }

/* =====================================================================
   Feature / why-us split
   ===================================================================== */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.feature-list { list-style: none; margin: 22px 0 0; padding: 0; }
.feature-list li { position: relative; padding: 0 0 18px 42px; }
.feature-list li:last-child { padding-bottom: 0; }
.feature-list .fi-title { font-weight: 700; color: var(--ink); display: block; }
.feature-list svg {
  position: absolute; left: 0; top: 2px; width: 28px; height: 28px;
  color: var(--blue); background: var(--blue-tint); border-radius: 8px; padding: 5px;
}

/* =====================================================================
   Gallery
   ===================================================================== */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter-btn {
  border: 1px solid var(--line); background: #fff; color: var(--body);
  padding: 9px 20px; border-radius: var(--radius-pill); font-family: var(--font);
  font-weight: 600; font-size: .9rem; cursor: pointer; transition: .15s;
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue-dark); }
.filter-btn.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.gallery {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
}
.gallery__item {
  position: relative; overflow: hidden; border-radius: 14px; cursor: pointer;
  aspect-ratio: 4/3; background: var(--blue-tint); box-shadow: var(--shadow-sm);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px; color: #fff; font-weight: 600; font-size: .92rem;
  background: linear-gradient(transparent, rgba(2,34,47,.82)); opacity: 0; transition: opacity .25s;
}
.gallery__item:hover .gallery__cap { opacity: 1; }
.gallery__item.is-hidden { display: none; }

/* ----- lightbox ----- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center;
  background: rgba(2,20,28,.92); padding: 30px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox__cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: #dff6ff; font-weight: 500; }
.lightbox__btn {
  position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; cursor: pointer;
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; line-height: 1; display: grid; place-items: center;
  transition: background .15s;
}
.lightbox__btn:hover { background: var(--blue); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }

/* =====================================================================
   Testimonials
   ===================================================================== */
.reviews { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
/* one centered testimonial until more come in */
.reviews--single { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }
.reviews--single .review { text-align: center; align-items: center; }
.reviews--single .review__stars { font-size: 1.25rem; }
.reviews--single .review__text { font-size: 1.15rem; }
.review {
  background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); display: flex; flex-direction: column;
}
.review__stars { color: #ffb400; letter-spacing: 2px; margin-bottom: 12px; }
.review__text { font-style: italic; color: var(--ink); flex: 1; }
.review__name { font-weight: 700; color: var(--ink); margin-top: 16px; }
.review__loc { color: var(--muted); font-size: .9rem; }

/* =====================================================================
   Contact / form
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: start; }
.contact-info h3 { margin-top: 26px; }
.contact-info .info-row { display: flex; gap: 14px; margin-bottom: 18px; align-items: flex-start; }
.contact-info .info-row svg { flex: 0 0 auto; width: 24px; height: 24px; color: var(--blue); margin-top: 3px; }
.contact-info .info-row a { color: inherit; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.hours-table td { padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: .96rem; }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); }

.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 38px; border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 7px; font-size: .92rem; }
.field label .req { color: #e23; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfdff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,175,240,.15); background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; text-align: center; }

.alert { padding: 16px 20px; border-radius: 12px; margin-bottom: 24px; font-weight: 500; }
.alert--ok { background: #e7f9ee; color: #1a7a43; border: 1px solid #b6e9c9; }
.alert--err { background: #fdeaea; color: #b3261e; border: 1px solid #f5c2c0; }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer { background: #06222e; color: #b9d2dd; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: .04em; margin-bottom: 18px; }
.site-footer a { color: #b9d2dd; }
.site-footer a:hover { color: var(--blue); }
/* logo is transparent — give it a white card so it pops on dark footer */
.footer-brand img {
  height: 40px; width: auto; display: inline-block; box-sizing: content-box;
  margin-bottom: 18px; background: #fff; padding: 12px 16px; border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 46px; padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between;
  font-size: .85rem; color: #80a0ad;
}
.footer-license { font-size: .82rem; color: #80a0ad; margin-top: 12px; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 980px) {
  .cards, .reviews { grid-template-columns: repeat(2,1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 0;
    transform: translateY(-130%); transition: transform .28s ease; box-shadow: var(--shadow);
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links li { width: 100%; text-align: center; }
  .nav__links a { display: block; padding: 14px 0; }
  .nav__phone { display: none; }
  .nav__toggle { display: block; }
  /* drop the cramped top-bar CTA; show a full-width one inside the menu */
  .nav__cta-desktop { display: none; }
  .nav__cta-mobile { display: block; padding: 14px 22px 8px; }
  .nav__cta-mobile a { display: flex; justify-content: center; padding: 14px 0; }
  .trust__grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
  .cards, .reviews, .gallery { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2,1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .gallery { grid-template-columns: 1fr; }
}
