/*
Theme Name: Proton HVAC
Theme URI: https://protonhvac.com
Author: Proton HVAC Services Ltd.
Author URI: https://protonhvac.com
Description: A responsive, modern WordPress theme for Proton HVAC Services — featuring hero slider, FAQ accordion, testimonials carousel, service areas, and full home comfort branding.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: proton-hvac
Tags: responsive, one-page, business, custom-menu, featured-images, sticky-post
*/

/* ────────────────────────────────────────────────
   RESET & BASE
──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Kanit', Helvetica, Arial, sans-serif;
  color: #1e1e1e;
  background: #fff;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ────────────────────────────────────────────────
   FONT — loaded non-blocking via <head> preload
   See: inc/performance.php → wp_head priority 1
──────────────────────────────────────────────── */
/* Kanit font is preloaded in <head> using print→all media trick */

/* ────────────────────────────────────────────────
   CSS VARIABLES
──────────────────────────────────────────────── */
:root {
  --color-primary:   #e95c04;
  --color-dark:      #071842;
  --color-accent:    #3acaff;
  --color-light-bg:  #e8f6ff;
  --color-warm-bg:   #fff4ed;
  --color-text:      #1e1e1e;
  --max-width:       1280px;
  --radius:          12px;
  --transition:      0.3s ease;
}

/* ────────────────────────────────────────────────
   LAYOUT WRAPPER
──────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ────────────────────────────────────────────────
   GRADIENT DIVIDER
──────────────────────────────────────────────── */
.gradient-bar {
  width: 100%;
  height: 12px;
  background: linear-gradient(to right, var(--color-primary), #fdac23, var(--color-primary));
}
.gradient-bar--blue {
  background: linear-gradient(to right, var(--color-primary), var(--color-accent), var(--color-primary));
}

/* ────────────────────────────────────────────────
   TOP BAR
──────────────────────────────────────────────── */
.top-bar {
  background: var(--color-dark);
  width: 100%;
}
.top-bar__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 44px;
  flex-wrap: wrap;
}
.top-bar__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}
.top-bar__item img { width: 24px; height: 24px; object-fit: cover; border-radius: 4px; }
.top-bar__item--right { margin-left: auto; }

/* ────────────────────────────────────────────────
   HEADER / NAV
──────────────────────────────────────────────── */
.site-header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header__inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-logo img { height: 70px; width: auto; object-fit: contain; }

.main-nav { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.main-nav a {
  color: var(--color-dark);
  font-weight: 600;
  font-size: 0.97rem;
  text-transform: uppercase;
  white-space: initial;
  transition: color var(--transition);
}
.main-nav a:hover { color: var(--color-primary); }

.btn-schedule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.65rem 1.2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
  text-transform: uppercase;
}
.btn-schedule:hover { background: #c94e00; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 1rem 1.5rem;
  background: #fff;
  border-top: 1px solid #f0f0f0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.7rem 0.75rem;
  color: var(--color-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu a:hover { background: #fff4ed; color: var(--color-primary); }
.mobile-menu .btn-schedule { margin-top: 0.5rem; text-align: center; }

/* ────────────────────────────────────────────────
   HERO SLIDER
──────────────────────────────────────────────── */
.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 620px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
  z-index: 1;
}
.hero-slide.active { opacity: 1; z-index: 5; pointer-events: auto; }
.hero-slide__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 60%, transparent 100%);
}
.hero-slide__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 10;
  width: 100%;
}
.hero-slide__content .container {
  width: 100%;
}
.hero-slide__inner { max-width: 680px; }
.hero-badge {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.hero-slide__inner h1 {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.hero-slide__inner p {
  color: rgba(255,255,255,0.9);
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 520px;
}
.btn-hero {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-transform: uppercase;
  transition: background var(--transition);
  cursor: pointer;
  border: none;
}
.btn-hero:hover { background: #c94e00; }

/* Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background var(--transition);
  color: #fff;
}
.slider-arrow:hover { background: rgba(255,255,255,0.4); }
.slider-arrow--prev { left: 1.5rem; }
.slider-arrow--next { right: 1.5rem; }
.slider-arrow svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.55);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.slider-dot.active { background: var(--color-primary); width: 32px; }

/* ────────────────────────────────────────────────
   TRUST BADGE BAR
──────────────────────────────────────────────── */
.trust-bar {
  background: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-dark);
  font-weight: 600;
  font-size: 0.9rem;
}
.trust-item__check { color: var(--color-primary); font-size: 1.2rem; }

/* ────────────────────────────────────────────────
   SECTION — HERO BODY
──────────────────────────────────────────────── */
.section-hero-body {
  padding: 4rem 0;
  background: linear-gradient(to bottom, #fff, var(--color-light-bg));
  text-align: center;
}
.section-hero-body h2{
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.section-hero-body p {
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--color-primary);
  max-width: 600px;
  margin: 0 auto;
}

/* ────────────────────────────────────────────────
   SECTION — SERVICES
──────────────────────────────────────────────── */
.section-services {
  padding: 0rem 0 4rem 0;
  background: linear-gradient(to bottom, var(--color-light-bg), #fff);
}
.section-services h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #1f2a44;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.service-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  border: 1.5px solid var(--color-dark);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(7,24,66,0.18);
}
.service-card__shadow {
  position: absolute;
  inset: 0;
  background: var(--color-dark);
  border-radius: var(--radius);
  transform: translateY(0);
  transition: transform var(--transition);
  z-index: 0;
}
.service-card:hover .service-card__shadow { transform: translateY(6px); }
.service-card__body {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.service-card__img { width: 112px; height: 112px; object-fit: cover; border-radius: 8px; }
.service-card__title { font-weight: 700; color: #1f2a44; font-size: 1.1rem; text-align: center; text-transform: uppercase; }
.service-card__desc { color: var(--color-text); font-size: 0.85rem; text-align: center; line-height: 1.5; white-space: pre-line; }
.service-card__arrow { color: var(--color-dark); }

/* ────────────────────────────────────────────────
   SECTION — OFFERS
──────────────────────────────────────────────── */
.section-offers { padding: 4rem 0; background: #fff; }
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.offer-card {
  position: relative;
  border-radius: var(--radius);
  border: 2px dashed;
  overflow: hidden;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.offer-card--orange { background: #fff1e8; border-color: var(--color-primary); }
.offer-card--blue   { background: #e0f5ff; border-color: var(--color-dark); }
.offer-card--green  { background: #edffeb; border-color: #4ba63b; }
.offer-card__blob {
  position: absolute;
  border-radius: 71px / 122px;
  pointer-events: none;
  opacity: 0.7;
}
/* Banner-wrap: banner image fills width, price overlaid on top of it */
.offer-card__banner-wrap { position: relative; z-index: 1; width: 100%; height: 64px; margin-bottom: 0; }
.offer-card__banner { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; display: block; }
.offer-card__price { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 2rem; color: #fff; z-index: 2; pointer-events: none; }
.offer-card__title { text-align: center; font-weight: 700; font-size: 1.05rem; color: #1f2a44; position: relative; z-index: 1; line-height: 1.35; padding: 1.25rem 1.5rem 0.75rem; margin-bottom: 0; }
.offer-card__body { position: relative; z-index: 1; font-size: 0.85rem; color: var(--color-text); text-align: center; line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.offer-card__highlight { font-weight: 700; color: #ea5e05; font-size: 1rem; }
.offer-card__features { text-align: left; display: inline-block; }
.offer-card__features li { margin-bottom: 0.3rem; }
.offer-card hr { border-color: #ccc; margin: 0.75rem 0; position: relative; z-index: 1; }
.btn-offer {
  position: relative;
  z-index: 1;
  width: 100%;
  background: var(--color-dark);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.85rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  transition: background var(--transition);
  margin-bottom: 0.75rem;
}
.btn-offer:hover { background: #0d2660; }
.offer-card__disclaimer { position: relative; z-index: 1; font-size: 0.75rem; color: var(--color-text); text-align: center; }

/* ────────────────────────────────────────────────
   SECTION — ABOUT
──────────────────────────────────────────────── */
.section-about { padding: 4rem 0; background: var(--color-dark); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-grid h2 {
  font-size: clamp(1.7rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.about-grid p { color: #fff; font-size: 1rem; line-height: 1.7; margin-bottom: 1rem; }
.btn-secondary {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.75rem 1.8rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  transition: background var(--transition);
}
.btn-secondary:hover { background: #c94e00; }
.about-img { border-radius: var(--radius); width: 100%; max-width: 540px; object-fit: cover; box-shadow: 0 20px 60px rgba(0,0,0,0.35); margin: 0 auto; }

/* ────────────────────────────────────────────────
   SECTION — HEAT PUMPS
──────────────────────────────────────────────── */
.section-heatpumps {
  padding: 4rem 0;
  background: linear-gradient(to bottom, #fff, #fff4ed);
  text-align: center;
}
.section-heatpumps h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-dark);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section-heatpumps .sub { color: var(--color-primary); font-size: clamp(1rem, 2vw, 1.4rem); margin-bottom: 2.5rem; }
.heatpump-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}
.heatpump-features { display: flex; flex-direction: column; gap: 3rem; }
.heatpump-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1.5px solid var(--color-dark);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow var(--transition);
}
.heatpump-feature:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.heatpump-feature img { width: 52px; height: 52px; object-fit: cover; border-radius: 50%; flex-shrink: 0; }
.heatpump-feature span { font-weight: 500; color: var(--color-dark); font-size: 0.9rem; text-align: left; }
.heatpump-img { width: 480px; object-fit: contain; drop-shadow: 0 10px 30px rgba(0,0,0,0.15); margin: 0 auto; }

/* ────────────────────────────────────────────────
   SECTION — EXPERTISE / BRANDS
──────────────────────────────────────────────── */
.section-expertise { padding: 4rem 0; background: var(--color-dark); }
.section-expertise h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1rem;
}
.section-expertise .sub-text { color: var(--color-accent); font-size: 1rem; text-align: center; max-width: 680px; margin: 0 auto 3rem; line-height: 1.65; }
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.cert-card { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.cert-card__img {
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16/9;
  background: #324b89;
  transition: transform var(--transition);
}
.cert-card__img:hover { transform: scale(1.04); }
.cert-card__img img { width: 100%; height: 100%; object-fit: cover; }
.cert-card__label { font-weight: 700; color: #fff; font-size: 1rem; text-align: center; text-transform: uppercase; }
.brands-row { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 2rem; }
.brands-title { font-weight: 700; color: #fff; font-size: 1.3rem; text-align: center; text-transform: uppercase; margin-bottom: 1.5rem; }
.brands-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem; }
.brands-logos img { height: 72px; object-fit: contain; transition: transform var(--transition); }
.brands-logos img:hover { transform: scale(1.12); }

/* ────────────────────────────────────────────────
   SECTION — SERVICE AREAS
──────────────────────────────────────────────── */
.section-areas {
  padding: 4rem 0;
  background: linear-gradient(to bottom, #fff, var(--color-light-bg));
  text-align: center;
}
.section-areas h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-dark);
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-areas .sub-text {
  color: var(--color-text);
  font-size: 1rem;
  max-width: 760px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.locations-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.location-card {
  position: relative;
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.location-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.location-card:hover .location-card__bg { transform: scale(1.1); }
.location-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,24,66,0.5);
  transition: background var(--transition);
}
.location-card:hover .location-card__overlay { background: rgba(7,24,66,0.75); }
.location-card__label {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
}
.location-card__cta {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.location-card:hover .location-card__cta { opacity: 1; }
.location-card__cta button {
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
}

/* ────────────────────────────────────────────────
   SECTION — TESTIMONIALS
──────────────────────────────────────────────── */
.section-testimonials { padding: 4rem 0; background: #fff; }
.section-testimonials--light { background: #f5f8ff; }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.testimonials-left h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-dark);
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.testimonials-left .rating-img { width: 200px; height: auto; margin-bottom: 0.5rem; }
.testimonials-left .rating-text { font-weight: 600; color: var(--color-text); font-size: 0.95rem; }
.testimonials-controls { display: flex; gap: 0.75rem; margin-top: 2rem; }
.ctrl-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-dark);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--color-dark);
  transition: background var(--transition), color var(--transition);
}
.ctrl-btn:hover, .ctrl-btn--active { background: var(--color-dark); color: #fff; }
.ctrl-btn--next { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }
.ctrl-btn--next:hover { background: #c94e00; }
.ctrl-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

/* Testimonial card */
.testimonials-carousel { position: relative; }
.testimonial-slide {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid var(--color-dark);
  box-shadow: 4px 4px 0 var(--color-dark);
  padding: 2rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.testimonial-slide.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}
.testimonial-slide__header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.testimonial-slide__photo { width: 64px; height: 64px; border-radius: 0 0 12px 12px; object-fit: cover; flex-shrink: 0; }
.testimonial-slide__name { font-weight: 700; color: #000; font-size: 1rem; margin-bottom: 0.25rem; }
.testimonial-slide__stars { display: flex; gap: 4px; }
.testimonial-slide__stars svg { width: 18px; height: 18px; fill: #facc15; }
.testimonial-slide__text { color: var(--color-text); font-size: 0.95rem; line-height: 1.7; }
.testimonial-dots { display: flex; gap: 6px; justify-content: flex-end; margin-top: 0.75rem; }
.testimonial-dot {
  width: 10px; height: 10px;
  border-radius: 9999px;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.testimonial-dot.active { background: var(--color-primary); width: 24px; }

/* ────────────────────────────────────────────────
   SECTION — BLOG
──────────────────────────────────────────────── */
.section-blog { padding: 4rem 0; background: var(--color-dark); text-align: center; }
.section-blog .blog-tag { font-weight: 700; color: var(--color-accent); font-size: 1.2rem; margin-bottom: 0.4rem; text-transform: uppercase; }
.section-blog h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.18); }
.blog-card__thumb { position: relative; height: 180px; overflow: hidden; }
.blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card__thumb img { transform: scale(1.06); }
.blog-card__cat {
  position: absolute;
  bottom: 0.75rem;
  left: 1rem;
  background: #cae6f1;
  color: var(--color-dark);
  font-weight: 500;
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
}
.blog-card__body { padding: 1.25rem; }
.blog-card__title { font-weight: 700; color: #1f2a44; font-size: 1rem; line-height: 1.4; margin-bottom: 0.75rem; }
.blog-card__link { color: #ea5e05; font-weight: 600; font-size: 0.9rem; }
.blog-card__link:hover { text-decoration: underline; }

/* ────────────────────────────────────────────────
   SECTION — FAQ
──────────────────────────────────────────────── */
.section-faq {
  padding: 4rem 0;
  background: linear-gradient(to bottom, #fff, var(--color-light-bg));
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.faq-grid h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-dark);
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.faq-grid .faq-sub { color: var(--color-text); font-size: 0.95rem; line-height: 1.7; margin-bottom: 2rem; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { position: relative; }
.faq-item__shadow {
  position: absolute;
  top: 6px; left: 6px;
  width: 100%; height: 100%;
  background: var(--color-dark);
  border-radius: var(--radius);
}
.faq-item__box {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  border: 1.5px solid var(--color-dark);
  overflow: hidden;
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  gap: 1rem;
}
.faq-trigger__q { font-weight: 600; color: var(--color-dark); font-size: 0.9rem; line-height: 1.4; }
.faq-trigger__icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.faq-trigger__icon svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2.5; }
.faq-item.open .faq-trigger__icon { transform: rotate(180deg); background: var(--color-dark); color: #fff; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease;
  opacity: 0;
}
.faq-item.open .faq-answer { max-height: 200px; opacity: 1; }
.faq-answer p {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid #f0f0f0;
  padding-top: 0.75rem;
  color: var(--color-text);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ────────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────────── */
.site-footer { background: var(--color-warm-bg); padding: 3.5rem 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-box {
  border: 4px solid var(--color-accent);
  border-radius: 16px;
  padding: 1.5rem;
}
.footer-box h3 { font-weight: 700; color: var(--color-dark); font-size: 1.4rem; text-transform: uppercase; margin-bottom: 1.25rem; }
.contact-row { margin-bottom: 1rem; }
.contact-row .label { font-weight: 600; color: var(--color-dark); font-size: 0.95rem; text-transform: uppercase; margin-bottom: 0.2rem; }
.contact-row p, .contact-row a { color: var(--color-dark); font-size: 0.9rem; line-height: 1.5; }
.contact-row a { color: #e95b04; font-weight: 600; font-size: 1rem; display: block; }
.footer-center { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; }
.footer-center__logo { width: 220px; object-fit: contain; }
.footer-center__tagline { color: var(--color-dark); font-size: 1.4rem; line-height: 1.45; }
.footer-center__badge { width: 160px; object-fit: contain; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.btn-footer-link {
  width: 100%;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.85rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  text-align: center;
  display: block;
  transition: opacity var(--transition);
}
.btn-footer-link:hover { opacity: 0.85; }
.btn-footer-link--orange { background: var(--color-primary); }
.btn-footer-link--dark   { background: var(--color-dark); }

/* ────────────────────────────────────────────────
   FOOTER SOCIAL ICONS
──────────────────────────────────────────────── */
.footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.25rem;
  width: 100%;
}
.footer-social__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  flex-shrink: 0;
}
.footer-social__icon:hover { background: var(--color-primary); color: #fff; }
.footer-social__icon svg { width: 20px; height: 20px; display: block; }

/* ────────────────────────────────────────────────
   SCROLL REVEAL ANIMATIONS
──────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal--left  { transform: translateX(-50px); }
.reveal--right { transform: translateX(50px); }
.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ────────────────────────────────────────────────
   FOOTER BAR
──────────────────────────────────────────────── */
.footer-bar { background: var(--color-dark); padding: 1.25rem 0; }
.footer-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.85rem;
}

/* ────────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────────── */
@media (max-width: 1199px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .offers-grid   { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: repeat(3, 1fr); }
  .heatpump-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 991px) {
.heatpump-features:first-child .heatpump-feature:nth-child(2){
	    left: -30px;
    position: relative;
}
.heatpump-features:nth-child(3) .heatpump-feature:nth-child(2){
	    right: -30px;
    position: relative;
}
}
@media (max-width: 991px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .hero-slider { height: 480px; }
}

@media (max-width: 767px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .offers-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .hero-slider { height: 400px; }
  .top-bar__item:nth-child(2) { display: none; }
  .heatpump-grid { grid-template-columns: 1fr; }
}

@media (max-width: 479px) {
  .services-grid   { grid-template-columns: 1fr 1fr; }
  .locations-grid  { grid-template-columns: 1fr 1fr; }
  .hero-slider { height: 360px; }
}

/* ════════════════════════════════════════════════
   ACCESSIBILITY & PERFORMANCE ADDITIONS
   WCAG 2.1 AA · PageSpeed 90+ optimizations
════════════════════════════════════════════════ */

/* ── 1. Screen-reader only utility ──────────────── */
.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;
}
.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* ── 2. Visible focus rings (WCAG 2.4.7) ─────────
   Use :focus-visible so mouse users are unaffected */
:focus-visible {
  outline: 3px solid #e95c04;
  outline-offset: 3px;
  border-radius: 4px;
}
/* Remove default outline only when :focus-visible supported */
:focus:not(:focus-visible) { outline: none; }

/* High-contrast focus for dark backgrounds */
.top-bar :focus-visible,
.site-footer :focus-visible,
.mega-panel__header :focus-visible {
  outline-color: #fff;
}

/* Buttons & links always show focus */
button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #e95c04;
  outline-offset: 3px;
}

/* ── 3. Skip link (keyboard + screen reader nav) ─ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #e95c04;
  color: #fff;
  padding: .6rem 1.2rem;
  font-weight: 700;
  font-size: .9rem;
  border-radius: 0 0 8px 8px;
  z-index: 99999;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── 4. Color contrast improvements (WCAG AA) ────
   Text must be ≥ 4.5:1 on its background          */

/* Orange on dark (7:1 ✓) — already good */
/* Dark text on white (16:1 ✓) — already good */

/* Captions / secondary text — ensure ≥ 4.5:1 */
.page-content p,
.mega-item__caption,
.sidebar-link,
.contact-row p,
.footer-center__tagline {
  color: #3a4a60; /* 7.2:1 on white */
}

/* ── 5. Reduced motion (WCAG 2.3.3) ──────────────
   Disable/slow animations for vestibular users    */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-slide         { transition: none !important; }
  .whatsapp-sticky::before { animation: none !important; }
  .go-to-top          { transition: none !important; }
}

/* ── 6. High contrast mode support ───────────────
   Ensures elements are visible in Windows HCM     */
@media (forced-colors: active) {
  .btn-schedule,
  .btn-sidebar-cta,
  .btn-hero,
  .callout-box .btn-cta {
    border: 2px solid ButtonText;
    forced-color-adjust: none;
    background: Highlight;
    color: HighlightText;
  }
  .service-sidebar,
  .mega-panel {
    border: 1px solid ButtonText;
  }
}

/* ── 7. Content visibility — paint offscreen later
   Big LCP / CLS win for sections below the fold   */
.section-services,
.section-service-areas,
.section-blog,
.section-faq,
.section-testimonials {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* ── 8. Image rendering — crisp logos ────────────── */
.site-logo img,
.footer-center__logo {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* ── 9. Font smoothing ───────────────────────────── */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── 10. Touch target size (WCAG 2.5.5, ≥ 44×44px) */
.hamburger        { min-width: 44px; min-height: 44px; }
.slider-arrow     { min-width: 44px; min-height: 44px; }
.slider-dot       { min-width: 24px; min-height: 24px; }
.footer-social__icon { min-width: 44px; min-height: 44px; display:inline-flex;align-items:center;justify-content:center; }
.btn-sidebar-cta  { min-height: 44px; }
.mega-item__link  { min-height: 44px; }
.sidebar-link     { min-height: 40px; }
.proton-nav__link { min-height: 44px; }

/* ── 11. Error/success message contrast ─────────── */
#proton-form-msg[style*="red"]   { color: #c0392b !important; font-weight: 700; }
#proton-form-msg[style*="green"] { color: #1a6e3c !important; font-weight: 700; }

/* ── 12. Table accessibility ────────────────────── */
table { border-collapse: collapse; width: 100%; }
th    { text-align: left; font-weight: 700; }
th, td { padding: .5rem .75rem; border: 1px solid #e5e9f0; }

/* ── 13. Print styles ────────────────────────────── */
@media print {
  .top-bar,
  .site-header,
  .mobile-menu,
  .whatsapp-sticky,
  .go-to-top,
  .mega-panel,
  .service-sidebar,
  .slider-arrow,
  .slider-dots { display: none !important; }

  body { font-size: 12pt; color: #000; background: #fff; }
  a::after { content: " (" attr(href) ")"; font-size: 10pt; color: #555; }
  .page-content { box-shadow: none; padding: 0; }
}
