/* huntsvillehvacpros.com modern layer (2026-10-01).
   Loads LAST on every template page, after style.v2.5.css and site-theme.css. Every rule is scoped
   under body.hv so it wins without !important (the few !important flags below beat inline
   grid-template-columns that the page markup carries). Benchmark: 904epoxyfloors.com.
   Palette: deep service navy + furnace orange (brand accent kept) + a cool sky blue for icons. */
:root {
  --hv-navy: #0e1a2b; --hv-navy-2: #15263d; --hv-ink: #0f172a; --hv-muted: #475569; --hv-line: #e2e8f0;
  --hv-soft: #f3f6fa; --hv-white: #ffffff; --hv-accent: #f97316; --hv-accent-2: #ea580c; --hv-cool: #0284c7;
  --hv-gold: #fbbf24; --hv-radius: 18px;
  --hv-shadow: 0 10px 30px rgba(14, 26, 43, .08); --hv-shadow-lg: 0 20px 50px rgba(14, 26, 43, .16);
  --hv-display: "Outfit", "Inter", system-ui, sans-serif;
  --color-primary: #0e1a2b; --color-dark: #0e1a2b; --color-dark-bg: #0b1524; --color-footer: #081120;
}
body.hv { font-family: "Inter", system-ui, sans-serif; color: var(--hv-ink); }

/* base type at zero specificity: any explicit page rule still wins */
:where(body.hv) :where(h1, h2, h3, .section-title, .hero__title, .cta__title) { font-family: var(--hv-display); letter-spacing: -.015em; text-wrap: balance; }
:where(body.hv) :where(.section-title) { font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
body.hv .section-label { display: inline-flex; align-items: center; gap: 10px; color: var(--hv-accent-2); letter-spacing: .14em; }
body.hv .section-label::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--hv-accent); }
body.hv .section-subtitle { color: var(--hv-muted); }

/* reveal: content is always visible (the fade hid sections from audits and slow phones) */
html.js body.hv .reveal, body.hv .reveal { opacity: 1; transform: none; }

body.hv .hv-i { width: 1.1em; height: 1.1em; flex-shrink: 0; }
body.hv .hv-badge { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(249,115,22,.14), rgba(2,132,199,.12)); color: var(--hv-accent-2); margin-bottom: 16px; }
body.hv .hv-badge svg { width: 24px; height: 24px; }

/* ---------- nav ---------- */
body.hv .nav { background: linear-gradient(180deg, rgba(8,17,32,.55), rgba(8,17,32,0)); }
body.hv .nav.scrolled { background: rgba(10,20,36,.92); }
body.hv .nav__logo { font-family: var(--hv-display); font-weight: 800; letter-spacing: -.01em; }
body.hv .nav__cta { box-shadow: 0 8px 20px rgba(249,115,22,.35); }

/* ---------- hero ---------- */
body.hv .hero { min-height: 0; align-items: flex-end; padding: clamp(132px, 14vw, 176px) 0 clamp(72px, 8vw, 104px);
  background: linear-gradient(100deg, rgba(9,18,32,.95) 0%, rgba(9,18,32,.84) 46%, rgba(9,18,32,.42) 100%),
              var(--hero-img, linear-gradient(135deg, var(--hv-navy), var(--hv-navy-2))) center / cover no-repeat; }
body.hv.hv-home .hero { min-height: 92vh; align-items: center; }
body.hv .hero__orb { display: none; }
body.hv .hero__bg { opacity: 1; }
body.hv .hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(9,18,32,.95) 0%, rgba(9,18,32,.82) 48%, rgba(9,18,32,.38) 100%); }
body.hv .hero:has(+ .trust-bar) { padding-bottom: clamp(120px, 11vw, 150px); }
body.hv .hero .container { width: 100%; }
body.hv .hero__content { max-width: 760px; margin: 0; }
body.hv .hero__title, body.hv .hero--inner h1 { color: #fff; font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 3.9rem); line-height: 1.06; letter-spacing: -.025em; }
body.hv .hero__title span { background: none; -webkit-text-fill-color: currentColor; color: #ffb27a; }
body.hv .hero__desc, body.hv .hero__subtitle, body.hv .hero--inner .container > p { color: rgba(255,255,255,.86); font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.7; max-width: 620px; text-shadow: none; }
body.hv .hero--inner .container > h1 { max-width: 860px; margin-bottom: 14px; }
body.hv .hero__badge { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24); color: #fff; backdrop-filter: blur(6px); }
body.hv .hero__badge svg { color: #ffb27a; fill: currentColor; }
body.hv .hero__buttons { margin: 28px 0 0; }
body.hv .hero__stats { margin-top: 44px; gap: 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; }
body.hv .hero__stat { padding: 0 32px; border-left: 1px solid rgba(255,255,255,.18); }
body.hv .hero__stat:first-child { padding-left: 0; border-left: 0; }
body.hv .hero__stat-num { font-family: var(--hv-display); color: #fff; }
body.hv .hero__stat-label { color: rgba(255,255,255,.7); }
body.hv .hero__trust-pill { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.9); }
body.hv .hv-crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 18px; font-size: .88rem; color: rgba(255,255,255,.7); }
body.hv .hv-crumbs a { color: #fff; font-weight: 600; text-decoration: none; }
body.hv .hv-crumbs a:hover { color: #ffb27a; text-decoration: underline; }
body.hv .hv-crumbs .breadcrumb__sep { opacity: .5; }
body.hv .btn--ghost, body.hv .hero .btn--outline { border: 1.5px solid rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.06); }
body.hv .btn--ghost:hover, body.hv .hero .btn--outline:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- trust bar: a stats card lifted over the hero edge ---------- */
body.hv .trust-bar { background: transparent; padding: 0; margin: -64px 0 0; position: relative; z-index: 3; }
body.hv .trust-bar__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; overflow: hidden; padding: 0;
  background: #fff; border: 1px solid var(--hv-line); border-radius: var(--hv-radius); box-shadow: var(--hv-shadow-lg); }
body.hv .trust-bar__item { padding: 24px 22px; gap: 14px; white-space: normal; line-height: 1.3; font-size: .95rem; color: var(--hv-ink); border-right: 1px solid var(--hv-line); }
body.hv .trust-bar__item:last-child { border-right: 0; }
body.hv .trust-bar__item > div:not(.trust-bar__icon) { display: flex; flex-direction: column; gap: 2px; }
body.hv .trust-bar__item strong { font-family: var(--hv-display); font-size: 1.15rem; color: var(--hv-ink); }
body.hv .trust-bar__item span { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hv-muted); }
body.hv .trust-bar__icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(249,115,22,.14), rgba(2,132,199,.1)); box-shadow: none; color: var(--hv-accent-2); }
body.hv .trust-bar__icon svg { fill: currentColor; }

/* ---------- bands: real light / soft / dark rhythm ---------- */
body.hv .hv-band { background: var(--hv-white); padding: clamp(64px, 7vw, 100px) 0; }
body.hv .hv-band--soft { background: var(--hv-soft); }
body.hv .hv-band--dark { background: radial-gradient(1200px 500px at 85% 0%, rgba(2,132,199,.16), transparent 60%), linear-gradient(180deg, var(--hv-navy) 0%, #0b1726 100%); color: #fff; }
body.hv .hv-band--dark .section-title, body.hv .hv-band--dark h2, body.hv .hv-band--dark h3 { color: #fff; }
body.hv .hv-band--dark .section-subtitle, body.hv .hv-band--dark .why__text { color: rgba(255,255,255,.74); }
body.hv .hv-band--dark .section-label { color: #ffb27a; }
body.hv .trust-bar + .hv-band, body.hv .trust-bar + .page-section { padding-top: clamp(84px, 8vw, 112px); }

/* stat/feature cards on light bands (the template coloured them for dark only) */
body.hv .hv-band:not(.hv-band--dark) .why__stat-card { background: #fff; border: 1px solid var(--hv-line); border-radius: 16px; padding: 26px 24px; box-shadow: var(--hv-shadow); }
body.hv .hv-band--soft .why__stat-card { background: #fff; }
body.hv .hv-band:not(.hv-band--dark) .why__stat-card :is(strong, h3) { color: var(--hv-ink); font-family: var(--hv-display); font-size: 1.1rem; }
body.hv .hv-band:not(.hv-band--dark) .why__stat-card p { color: var(--hv-muted); font-size: .95rem; }
body.hv .hv-band:not(.hv-band--dark) .why__stat-card:hover { border-color: rgba(249,115,22,.4); box-shadow: var(--hv-shadow-lg); }
body.hv .why__stat-card { position: relative; }
body.hv .hv-band:not(.hv-band--dark) .why__stats > .why__stat-card::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--hv-accent), #fb923c); opacity: .85; }
body.hv .hv-band--dark .why__stat-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 26px 24px; }
body.hv .hv-band--dark .why__stat-card :is(strong, h3) { color: #fff; font-family: var(--hv-display); font-size: 1.1rem; }
body.hv .hv-band--dark .why__stat-card p { color: rgba(255,255,255,.74); font-size: .95rem; }
body.hv .stat-icon { width: 46px; height: 46px; padding: 11px; border-radius: 13px; background: linear-gradient(135deg, rgba(249,115,22,.14), rgba(2,132,199,.1)); color: var(--hv-accent-2); margin-bottom: 14px; }
body.hv .hv-band--dark .stat-icon { background: rgba(249,115,22,.16); color: #ffb27a; }
body.hv a.why__stat-card { color: inherit; text-decoration: none; }

/* grids: never leave an orphan card (5 -> 3 + 2, 7 -> 4 + 3, 2 -> 2) */
body.hv .why__stats:not(form .why__stats) { gap: 20px; }
@media (min-width: 769px) { body.hv .why__inner > .why__stats { grid-template-columns: 1fr 1fr !important; margin-top: 0 !important; } }
@media (min-width: 961px) {
  body.hv :is(.why__stats, .process__grid, .related-services__grid, .testimonials__grid):has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, 1fr) !important; }
  body.hv :is(.why__stats, .process__grid, .related-services__grid, .testimonials__grid):has(> :nth-child(5):last-child) > * { grid-column: span 2; }
  body.hv :is(.why__stats, .process__grid, .related-services__grid, .testimonials__grid):has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column: span 3; }
  body.hv :is(.why__stats, .process__grid):has(> :nth-child(7):last-child) { grid-template-columns: repeat(12, 1fr) !important; }
  body.hv :is(.why__stats, .process__grid):has(> :nth-child(7):last-child) > * { grid-column: span 3; }
  body.hv :is(.why__stats, .process__grid):has(> :nth-child(7):last-child) > :nth-child(n+5) { grid-column: span 4; }
  body.hv .hv-band > .container > .why__stats:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, 1fr) !important; }
  body.hv .hv-band > .container > .why__stats:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr) !important; }
  body.hv .hv-band > .container > .why__stats:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr) !important; }
  body.hv .process__grid:has(> :nth-child(5):last-child)::before { display: none; }
}
body.hv .testimonials__grid:has(> :only-child) { grid-template-columns: 1fr !important; max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- services bento: 4 + 2 over 2 + 2 + 2, no holes ---------- */
@media (min-width: 769px) {
  body.hv .bento { grid-template-columns: repeat(6, 1fr); gap: 22px; }
  body.hv .bento > .bento__card { grid-column: span 2; min-height: 300px; }
  body.hv .bento > .bento__card:first-child { grid-column: span 4; min-height: 380px; }
  body.hv .bento > .bento__card:nth-child(2) { min-height: 380px; }
}
body.hv .bento__card { border-radius: var(--hv-radius); box-shadow: var(--hv-shadow); }
body.hv .bento__title { font-family: var(--hv-display); }
body.hv .bento__tag { background: var(--hv-accent); color: #fff; }

/* ---------- why (home) ---------- */
body.hv .why__image { border-radius: 22px; box-shadow: var(--hv-shadow-lg); }
body.hv .why__float { border-radius: 14px; box-shadow: var(--hv-shadow-lg); }
body.hv .why__float-num { font-family: var(--hv-display); color: var(--hv-accent-2); }
body.hv .why__features li svg { color: var(--hv-accent-2); fill: currentColor; }

/* ---------- process (dark band) ---------- */
body.hv .process::before { display: none; }
body.hv .process__card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; }
body.hv .process__num { font-family: var(--hv-display); background: none; -webkit-text-fill-color: currentColor; color: #ffb27a; }
body.hv .process__card-title { color: #fff; font-family: var(--hv-display); }
body.hv .process__card-desc { color: rgba(255,255,255,.72); }

/* ---------- gallery ---------- */
body.hv .gallery__item { border-radius: var(--hv-radius); overflow: hidden; box-shadow: var(--hv-shadow); }

/* ---------- testimonials ---------- */
body.hv .testimonials::before { display: none; }
body.hv .hv-stars { display: inline-flex; gap: 3px; color: var(--hv-gold); vertical-align: middle; }
body.hv .hv-star { width: 18px; height: 18px; }
body.hv .testimonials__stars-rating .hv-star { width: 28px; height: 28px; }
body.hv .testimonials__stars-rating { color: var(--hv-gold); letter-spacing: 0; }
body.hv .testimonial-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 30px 28px; }
body.hv .testimonial-card__name { color: #fff; }
body.hv .testimonial-card__role { color: rgba(255,255,255,.62); }
body.hv .testimonials__stars-text { color: rgba(255,255,255,.7); }

/* ---------- areas ---------- */
body.hv .areas__map { border-radius: var(--hv-radius); box-shadow: var(--hv-shadow-lg); background: #dfe7ef; }
body.hv .areas__city { border-radius: 12px; border: 1px solid var(--hv-line); box-shadow: none; font-weight: 600; }
body.hv .areas__city svg { color: var(--hv-accent-2); }
body.hv .areas__city:hover { border-color: var(--hv-accent); color: var(--hv-accent-2); }
body.hv .areas__cities h3 { font-family: var(--hv-display); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; }

/* ---------- home PAS blocks ---------- */
body.hv .hv-pas { padding: clamp(64px, 7vw, 100px) 0; }
body.hv .hv-pas .section-title { text-align: left; }
body.hv .hv-pas p { color: #334155; font-size: 1.05rem; line-height: 1.8; margin: 0 0 16px; }
body.hv .hv-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
body.hv .hv-split__media { margin: 0; position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--hv-shadow-lg); aspect-ratio: 4 / 5; }
body.hv .hv-split__media img { width: 100%; height: 100%; object-fit: cover; }
body.hv .hv-split__media figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 22px 18px; color: #fff; font-weight: 700; font-size: .95rem;
  background: linear-gradient(transparent, rgba(9,18,32,.88)); }
body.hv .hv-split__copy a { color: var(--hv-accent-2); font-weight: 700; }
body.hv .hv-narrow-wide { max-width: 1200px; }
body.hv .hv-narrow-wide > .section-title, body.hv .hv-narrow-wide > p:first-of-type { max-width: 760px; }
body.hv .hv-cards { display: grid; gap: 20px; margin: 28px 0; padding: 0; list-style: none; }
body.hv .hv-cards--2 { grid-template-columns: repeat(2, 1fr); }
body.hv .hv-cards--3 { grid-template-columns: repeat(3, 1fr); }
body.hv .hv-card { background: #fff; border: 1px solid var(--hv-line); border-radius: 16px; padding: 26px 24px; box-shadow: var(--hv-shadow); color: var(--hv-muted); line-height: 1.7; font-size: .98rem; margin: 0; }
body.hv .hv-card strong { display: block; color: var(--hv-ink); font-family: var(--hv-display); font-size: 1.12rem; margin-bottom: 6px; }
body.hv .hv-card span:not(.hv-badge) { color: var(--hv-muted); }
body.hv .hv-band:not(.hv-band--soft) .hv-card { background: var(--hv-soft); box-shadow: none; }
body.hv .hv-pas--agitate p:last-child, body.hv .hv-pas--price > .container > p:last-child { font-style: italic; color: var(--hv-ink); border-left: 4px solid var(--hv-accent); padding: 6px 0 6px 18px; max-width: 760px; text-align: left; }
body.hv .hv-price { position: relative; display: flex; flex-direction: column; }
body.hv .hv-price::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--hv-accent); }
body.hv .hv-price__name { font-family: var(--hv-display); font-weight: 700; font-size: 1.15rem; color: var(--hv-ink); margin-bottom: 10px; }
body.hv .hv-price__amt { font-family: var(--hv-display); font-weight: 800; font-size: 2rem; color: var(--hv-accent-2); margin-bottom: 8px; line-height: 1.1; }
body.hv .hv-price__body { color: var(--hv-muted); font-size: .96rem; line-height: 1.9; }

/* ---------- FAQ: native details ---------- */
body.hv .faq__list { max-width: 880px; }
body.hv details.hv-faq { border: 1px solid var(--hv-line); border-radius: 14px; background: #fff; margin: 0 0 12px; box-shadow: 0 2px 10px rgba(14,26,43,.04); }
body.hv details.hv-faq:first-child { border-top: 1px solid var(--hv-line); }
body.hv details.hv-faq > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; font-family: var(--hv-display); font-weight: 700; font-size: 1.06rem; color: var(--hv-ink); }
body.hv details.hv-faq > summary::-webkit-details-marker { display: none; }
body.hv details.hv-faq > summary:hover { color: var(--hv-accent-2); }
body.hv .hv-faq-icon { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; transition: transform .25s, background-color .25s;
  background: var(--hv-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23ea580c'%3E%3Cpath d='M10.75 4.75a.75.75 0 0 0-1.5 0v4.5h-4.5a.75.75 0 0 0 0 1.5h4.5v4.5a.75.75 0 0 0 1.5 0v-4.5h4.5a.75.75 0 0 0 0-1.5h-4.5v-4.5Z'/%3E%3C/svg%3E") center / 18px no-repeat; }
body.hv details.hv-faq[open] .hv-faq-icon { transform: rotate(45deg); background-color: #ffedd5; }
body.hv details.hv-faq .faq__answer { max-height: none; overflow: visible; padding: 0 24px 22px; color: var(--hv-muted); line-height: 1.8; font-size: 1rem; }
body.hv details.hv-faq .faq__answer-inner { padding: 0; }
body.hv details.hv-faq .faq__answer p { margin: 0 0 10px; color: var(--hv-muted); }
body.hv details.hv-faq .faq__answer a { color: var(--hv-accent-2); font-weight: 600; }
body.hv .hv-band--soft details.hv-faq { background: #fff; }

/* ---------- pricing rows, two-col, mid CTA ---------- */
body.hv .pricing-row { background: #fff; border: 1px solid var(--hv-line); border-left: 4px solid var(--hv-accent); border-radius: 12px; }
body.hv .hv-band--soft .pricing-row { background: #fff; }
body.hv .pricing-row__price { color: var(--hv-accent-2); font-family: var(--hv-display); font-size: 1.05rem; }
body.hv .hv-midcta { padding: 0 24px clamp(56px, 6vw, 88px); margin: 0 auto; }
body.hv .hv-midcta + .hv-band, body.hv .hv-midcta + section { padding-top: clamp(64px, 7vw, 96px); }
body.hv .svc-cta-box { margin: 0 0 clamp(8px, 2vw, 24px); border-radius: 24px; padding: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 56px); position: relative; overflow: hidden;
  background: linear-gradient(100deg, rgba(9,18,32,.94), rgba(9,18,32,.78)), url("/images/hero-main.webp") center / cover; box-shadow: var(--hv-shadow-lg); }
body.hv .svc-cta-box h2 { font-family: var(--hv-display); font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
body.hv .svc-cta-box p { color: rgba(255,255,255,.82); }
body.hv .hv-band:has(+ .hv-midcta) { padding-bottom: clamp(56px, 6vw, 80px); }
body.hv .two-col-grid .section-title { font-size: clamp(1.7rem, 2.8vw, 2.2rem); }

/* location price list (restored rows) */
body.hv .hv-pricelist { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 18px; }
body.hv .hv-pricelist .pricing-row__label small { display: block; font-weight: 500; font-size: .82rem; color: var(--hv-muted); }
/* a two-column row whose second column is only a label and heading: render it as a photo panel, not an empty half */
@media all {
  body.hv .two-col-grid > div:has(> h2:last-child):not(:has(p, ul, div)) { align-self: stretch; min-height: clamp(220px, 30vw, 320px); display: flex; flex-direction: column; justify-content: flex-end;
    padding: 32px; border-radius: 22px; box-shadow: var(--hv-shadow-lg);
    background: linear-gradient(180deg, rgba(9,18,32,.1) 20%, rgba(9,18,32,.88) 100%), url("/images/service-ac-unit.webp") center / cover; }
  body.hv .two-col-grid > div:has(> h2:last-child):not(:has(p, ul, div)) .section-title { color: #fff; margin: 0 !important; }
  body.hv .two-col-grid > div:has(> h2:last-child):not(:has(p, ul, div)) .section-label { color: #ffb27a; }
}

/* related services */
body.hv .related-card { border: 1px solid var(--hv-line); border-radius: var(--hv-radius); box-shadow: var(--hv-shadow); text-align: left; }
body.hv .related-card__icon { margin: 0 0 16px; background: linear-gradient(135deg, rgba(249,115,22,.14), rgba(2,132,199,.1)); }
body.hv .related-card__icon svg { fill: var(--hv-accent-2); }
body.hv .related-card h3 { font-family: var(--hv-display); }
body.hv .related-card__link { color: var(--hv-accent-2); }
body.hv .related-services__header { text-align: left; }

/* ---------- CTA band: dark photo ---------- */
body.hv .cta-section { background: linear-gradient(rgba(9,18,32,.86), rgba(9,18,32,.9)), url("/images/hero-main.webp") center / cover no-repeat; padding: clamp(80px, 9vw, 120px) 0; }
body.hv .cta-section::before, body.hv .cta-section::after { display: none; }
body.hv .cta__urgency, body.hv .cta-section .hero__badge { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; }
body.hv .cta__title, body.hv .cta-section .section-title { color: #fff; font-family: var(--hv-display); font-weight: 800; }
body.hv .cta__desc, body.hv .cta-section p { color: rgba(255,255,255,.82); }
body.hv .cta__phone, body.hv .cta__phone a { color: #fff; font-family: var(--hv-display); }
body.hv .cta-section .btn--white { background: var(--hv-accent); color: #fff; border: 0; box-shadow: 0 10px 26px rgba(249,115,22,.35); }
body.hv .cta-section .btn--white:hover { background: var(--hv-accent-2); color: #fff; }
body.hv .cta-section .btn--white svg { stroke: currentColor; color: #fff; }

/* ---------- services hub cards ---------- */
body.hv .hv-svc-card { display: block; background: #fff; border: 1px solid var(--hv-line); border-radius: var(--hv-radius); padding: 30px 28px; box-shadow: var(--hv-shadow); transition: transform .25s, box-shadow .25s; }
body.hv .hv-svc-card:hover { transform: translateY(-4px); box-shadow: var(--hv-shadow-lg); }
body.hv .hv-band .hv-svc-card h3 { color: var(--hv-ink); font-size: 1.2rem; margin: 0 0 8px; }
body.hv .hv-band .hv-svc-card p { color: var(--hv-muted); font-size: .96rem; margin: 0 0 14px; }
body.hv .hv-svc-card .hv-more { color: var(--hv-accent-2); font-weight: 700; font-size: .92rem; }
body.hv .hv-svc-card .hv-badge svg { width: 24px; height: 24px; }
body.hv.hv-hub .hv-band > .container > div:has(> .hv-svc-card) { gap: 22px !important; }
@media (min-width: 961px) {
  body.hv.hv-hub .hv-band > .container > div:has(> .hv-svc-card:nth-child(5):last-child) { grid-template-columns: repeat(6, 1fr) !important; }
  body.hv.hv-hub .hv-band > .container > div:has(> .hv-svc-card:nth-child(5):last-child) > * { grid-column: span 2; }
  body.hv.hv-hub .hv-band > .container > div:has(> .hv-svc-card:nth-child(5):last-child) > :nth-child(n+4) { grid-column: span 3; }
}

/* ---------- blog index ---------- */
body.hv .hv-post-card { display: flex !important; flex-direction: column; min-height: 0; background: #fff; border: 1px solid var(--hv-line); border-radius: var(--hv-radius); box-shadow: var(--hv-shadow); overflow: hidden; }
body.hv .hv-post-card::after { display: none; }
body.hv .hv-thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
body.hv .hv-post-card .hv-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
body.hv .hv-post-card:hover .hv-thumb img { transform: scale(1.05); }
body.hv .hv-post-card h3 { font-family: var(--hv-display); font-size: 1.25rem; line-height: 1.3; }

/* ---------- blog post ---------- */

body.hv .blog-article { padding: clamp(56px, 6vw, 88px) 0; }
body.hv .blog-article .container { max-width: 760px; }
body.hv .blog-article > .container > p:first-child { font-size: 1.2rem; line-height: 1.75; color: var(--hv-ink); }
body.hv .blog-article h2 { font-family: var(--hv-display); font-size: clamp(1.45rem, 2.4vw, 1.8rem); color: var(--hv-ink); margin: 48px 0 14px; padding-top: 22px; border-top: 1px solid var(--hv-line); }
body.hv .blog-article h2::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--hv-accent); margin-bottom: 16px; }
body.hv .blog-article h3 { font-family: var(--hv-display); color: var(--hv-ink); }
body.hv .blog-article p, body.hv .blog-article li { color: #334155; font-size: 1.06rem; }
body.hv .blog-article a:not(.btn) { color: var(--hv-accent-2); font-weight: 600; }
body.hv .blog-article table { border-collapse: separate; border-spacing: 0; border: 1px solid var(--hv-line); border-radius: 14px; overflow: hidden; font-size: .95rem; margin: 20px 0; }
body.hv .blog-article th { background: var(--hv-navy); color: #fff; text-align: left; padding: 12px 14px; }
body.hv .blog-article td { padding: 12px 14px; border-top: 1px solid var(--hv-line); color: var(--hv-ink); }
body.hv .blog-cta { margin: 48px 0 32px; padding: clamp(32px, 4vw, 48px); border-radius: 22px; color: #fff; text-align: left;
  background: linear-gradient(100deg, rgba(9,18,32,.95), rgba(9,18,32,.8)), url("/images/hero-main.webp") center / cover; box-shadow: var(--hv-shadow-lg); }
body.hv .blog-cta h3 { color: #fff; font-size: 1.6rem; margin: 0 0 10px; }
body.hv .blog-cta p { color: rgba(255,255,255,.82); }
body.hv .blog-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
body.hv .blog-cta .btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; background: var(--hv-accent); color: #fff; font-weight: 700; text-decoration: none; }
body.hv .blog-cta .btn-primary:hover { background: var(--hv-accent-2); }

/* ---------- legal / simple pages ---------- */
body.hv .legal-content { padding: clamp(56px, 6vw, 88px) 0; }
body.hv .legal-content h2 { font-family: var(--hv-display); margin: 36px 0 12px; font-size: 1.5rem; }
body.hv .legal-content p, body.hv .legal-content li { color: #334155; }

/* ---------- contact ---------- */
body.hv.hv-page #contact .two-col-grid > div:first-child::after { content: ""; display: block; aspect-ratio: 4 / 3; margin-top: 8px; border-radius: 22px; box-shadow: var(--hv-shadow-lg);
  background: linear-gradient(180deg, rgba(9,18,32,0) 50%, rgba(9,18,32,.35)), url("/images/service-ac-unit.webp") center / cover; }

/* ---------- buttons and bars that older pages name differently ---------- */
body.hv .btn.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 28px; border-radius: 999px; background: var(--hv-accent); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 10px 26px rgba(249,115,22,.3); }
body.hv .btn.btn-primary:hover { background: var(--hv-accent-2); color: #fff; }
body.hv .mobile-cta { background: rgba(10,20,36,.96); backdrop-filter: blur(10px); }
body.hv .mobile-cta__call, body.hv .mobile-cta__estimate { flex: 1; display: flex; align-items: center; justify-content: center; padding: 14px 16px; border-radius: 10px; font-weight: 700; font-size: .95rem; color: #fff; text-decoration: none; }
body.hv .mobile-cta__call { background: var(--hv-accent); }
body.hv .mobile-cta__estimate { border: 2px solid rgba(255,255,255,.3); }
body.hv .thankyou h1 { font-family: var(--hv-display); }
body.hv .areas__map { align-self: start; }
body.hv .thankyou.hv-band { padding: 72px 0 0; }

/* ---------- footer ---------- */
body.hv .footer { border-top: 0; }
body.hv .footer__brand-name { font-family: var(--hv-display); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  body.hv :is(.why__stats, .process__grid, .related-services__grid):not(form .why__stats) { grid-template-columns: repeat(2, 1fr) !important; }
  body.hv :is(.why__stats, .process__grid, .related-services__grid) > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  body.hv .hv-cards--3 { grid-template-columns: 1fr 1fr; }
  body.hv .hv-cards--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  body.hv .hv-split { grid-template-columns: 1fr; }
  body.hv .hv-split__media { aspect-ratio: 16 / 10; }
  body.hv .hero__stats { grid-template-columns: repeat(2, auto); row-gap: 20px; }
  body.hv .hero__stat:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  body.hv .hero { padding: 116px 0 64px; }
  body.hv.hv-home .hero { min-height: 0; }
  body.hv .hero:has(+ .trust-bar) { padding-bottom: 104px; }
  body.hv .hero__buttons .btn { width: 100%; justify-content: center; }
  body.hv .trust-bar { margin-top: -52px; }
  body.hv .trust-bar .container { padding: 0 16px; }
  body.hv .trust-bar__inner { grid-template-columns: 1fr 1fr; overflow: hidden; }
  body.hv .trust-bar__item { padding: 16px 14px; gap: 10px; font-size: .86rem; border-right: 0; border-bottom: 1px solid var(--hv-line); }
  body.hv .trust-bar__item:nth-child(odd) { border-right: 1px solid var(--hv-line); }
  body.hv .trust-bar__item:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }
  body.hv .trust-bar__icon { width: 36px; height: 36px; }
  body.hv :is(.why__stats, .process__grid, .related-services__grid):not(form .why__stats) { grid-template-columns: 1fr !important; }
  body.hv .hv-cards--2, body.hv .hv-cards--3 { grid-template-columns: 1fr; }
  body.hv .hv-pas .section-title { font-size: 1.75rem; }
  body.hv .bento > .bento__card, body.hv .bento > .bento__card:first-child, body.hv .bento > .bento__card:nth-child(2) { min-height: 240px; }
  body.hv .bento > .bento__card:has(.bento__desc) { min-height: 330px; }
  body.hv details.hv-faq > summary { padding: 16px 18px; font-size: 1rem; }
  body.hv details.hv-faq .faq__answer { padding: 0 18px 18px; }
  body.hv .svc-cta-box .btn { width: 100%; justify-content: center; }
  body.hv .hv-midcta { padding: 0 16px 56px; }
  body.hv .areas__map iframe { height: 240px; }
  body.hv .areas.hv-band { padding-top: 48px; }
  body.hv.hv-page #contact .two-col-grid > div:first-child::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { body.hv * { transition: none !important; } }
body.hv:has(.thankyou) .nav { background: rgba(10,20,36,.96); }

/* ---------- Round 2 (2026-10-01): phone and tablet. Media-scoped only, desktop (>1024px, mouse) unchanged ---------- */
/* tablets up to 960px (iPad portrait 768-834) use the mobile menu: the desktop nav needs about 925px */
@media (max-width: 960px) {
  body.hv .nav__links { display: none; }
  body.hv .nav__toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: #fff; }
  body.hv .nav__links.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,20,36,.97); backdrop-filter: blur(20px); padding: 12px 24px 24px; gap: 4px; }
  body.hv .nav__links.open a { display: flex; align-items: center; min-height: 48px; font-size: 1.05rem; }
  body.hv .nav__links.open .nav__cta { justify-content: center; margin-top: 8px; }
}
/* tablet: the old sheet capped the 2-up process grid at 400px wide, squeezing four cards into a narrow column */
@media (max-width: 960px) { body.hv .process__grid { max-width: none; } }
/* touch-size tap targets on phones and tablets */
@media (max-width: 1024px), (hover: none) {
  body.hv .nav__logo { display: inline-block; min-height: 44px; line-height: 44px; }
  body.hv .nav__links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
  body.hv .breadcrumb a, body.hv .hv-crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
  body.hv a[href^="tel:"]:not(p a, td a, .btn, .nav__cta) { display: inline-flex; align-items: center; min-height: 44px; }
  body.hv .footer__contact-item { align-items: center; }
  body.hv .footer__contact-item a { display: inline-flex; align-items: center; min-height: 44px; }
}
/* body text at least 15px on phones */
@media (max-width: 640px) {
  body.hv #lead-form p[style*="font-size:.8125rem"] { font-size: 15px !important; }
}

/* ---------- 2026-10-07 ---------- */
/* A backdrop-filter on the fixed nav made the open phone menu see-through: page text showed behind the links.
   Solid panel and no blur up to 1100px; desktop keeps the glass nav. */
@media (max-width: 1100px) {
  body.hv .nav, body.hv .nav.scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.hv .nav.scrolled { background: #0a1424; }
  body.hv .nav__links.open { -webkit-backdrop-filter: none; backdrop-filter: none; background: #0a1424; box-shadow: 0 18px 40px rgba(8,17,32,.35); }
}
/* before and after photos stack on phones (two 170px columns clipped the captions) */
@media (max-width: 560px) {
  body.hv .gallery__grid { grid-template-columns: 1fr !important; }
}
