/* =====================================================
   California Heat Air Conditioning Shared Styles
   ===================================================== */
:root{
  --blue:#3FA6D8;
  --blue-dark:#1D6C90;
  --blue-deep:#154E6C;
  --gold:#E6A831;
  --gold-dark:#C68A16;
  --red:#E2302E;
  --red-dark:#B5201F;
  --navy:#0E2434;
  --navy-2:#123449;
  --cream:#F7F4EC;
  --white:#FFFFFF;
  --ink:#122430;
  --ink-soft:#4C6273;
  --line: rgba(14,36,52,0.10);
  --radius: 14px;
  --shadow: 0 20px 40px -20px rgba(14,36,52,0.35);
  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Inter', system-ui, sans-serif;
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; font-family:'Barlow Condensed', sans-serif; letter-spacing:0.01em; }
.wrap{ width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; }
.accent-script{ font-family:'Caveat', cursive; }
:focus-visible{ outline:3px solid var(--gold); outline-offset:3px; }

section{ position:relative; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:'Barlow Condensed', sans-serif;
  font-weight:800; letter-spacing:0.03em; text-transform:uppercase;
  font-size:17px; padding:14px 26px; border-radius:999px;
  border:2px solid transparent; cursor:pointer; transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--red); color:var(--white); box-shadow:0 12px 24px -10px rgba(226,48,46,0.6); }
.btn-primary:hover{ background:var(--red-dark); }
.btn-outline{ background:transparent; border-color:rgba(255,255,255,0.55); color:var(--white); }
.btn-outline:hover{ background:rgba(255,255,255,0.12); }
.btn-navy{ background:var(--navy); color:var(--white); }
.btn-navy:hover{ background:var(--navy-2); }
.btn-gold{ background:var(--gold); color:var(--navy); box-shadow:0 12px 24px -10px rgba(230,168,49,0.6); }
.btn-gold:hover{ background:var(--gold-dark); }
.btn-sm{ padding:10px 20px; font-size:14px; }
.btn-block{ width:100%; }
.btn small{ font-family:'Inter',sans-serif; font-weight:600; text-transform:none; letter-spacing:0; opacity:.85; display:block; font-size:11px; }

.phone-cta{ display:flex; align-items:center; gap:10px; }
.phone-cta svg{ width:20px; height:20px; flex:none; }

/* ---------- Header ---------- */
header{
  position:sticky; top:0; z-index:100;
  background:var(--white);
  border-bottom:1px solid var(--line);
}
.topbar{
  background:var(--navy); color:#cfe6f2; font-size:13px;
}
.topbar .wrap{ display:flex; justify-content:space-between; align-items:center; padding-top:8px; padding-bottom:8px; gap:12px; flex-wrap:wrap; }
.topbar a{ color:#fff; font-weight:600; }
.topbar .dot{ color:var(--gold); margin:0 8px; }

.nav-row{ display:flex; align-items:center; justify-content:space-between; padding:14px 24px; gap:20px; }
.logo-link{ display:flex; align-items:center; flex:none; }
.logo-link img{ height:64px; width:auto; }
nav.primary-nav{ display:flex; align-items:center; justify-content:center; gap:26px; flex:1; }
nav.primary-nav > li,
nav.primary-nav > a{ display:flex; align-items:center; }
nav.primary-nav a{
  font-family:'Barlow Condensed', sans-serif; font-weight:700; font-size:18px;
  text-transform:uppercase; letter-spacing:0.03em; color:var(--navy);
  position:relative; padding:6px 0;
}
.nav-link::after{
  content:''; position:absolute; left:0; right:0; bottom:0; height:3px; background:var(--gold);
  transform:scaleX(0); transform-origin:left; transition:transform .2s ease;
}
.nav-link:hover::after,
.nav-link.active::after{ transform:scaleX(1); }

.nav-cta{
  background:var(--red); color:var(--white) !important; padding:13px 30px; border-radius:999px;
  box-shadow:0 10px 20px -10px rgba(226,48,46,0.65); display:inline-flex; align-items:center; justify-content:center; gap:8px;
  white-space:nowrap; flex-shrink:0; min-width:172px; box-sizing:border-box; text-align:center;
}
.nav-cta:hover{ background:var(--red-dark); }
.nav-cta svg{ width:16px; height:16px; }

.has-dropdown{ position:relative; padding-bottom:18px; margin-bottom:-18px; }
.has-dropdown > .nav-link{ display:flex; align-items:center; gap:5px; }
.has-dropdown > .nav-link svg{ width:11px; height:11px; transition:transform .2s ease; }
.has-dropdown:hover > .nav-link svg{ transform:rotate(180deg); }
.dropdown{
  position:absolute; top:100%; left:50%; transform:translate(-50%,0);
  background:var(--white); min-width:250px; border-radius:12px; padding:10px;
  box-shadow:var(--shadow); border:1px solid var(--line);
  opacity:0; visibility:hidden;
  transition:opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
  z-index:10;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown{
  opacity:1; visibility:visible; transform:translate(-50%,0);
  transition:opacity .15s ease, transform .15s ease, visibility 0s linear 0s;
}
.dropdown a{
  display:block; padding:11px 14px; border-radius:8px; font-size:15px; text-transform:none;
  letter-spacing:0; font-weight:600; color:var(--navy);
}
.dropdown a::after{ display:none; }
.dropdown a:hover{ background:var(--cream); color:var(--blue-dark); }

.header-actions{ display:flex; align-items:center; gap:16px; flex:none; }
.header-call{ display:flex; flex-direction:column; align-items:flex-end; line-height:1.15; }
.header-call .label{ font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--ink-soft); font-weight:700; }
.header-call .num{ font-family:'Barlow Condensed', sans-serif; font-weight:800; font-size:24px; color:var(--red); }

.hamburger{
  display:none; background:none; border:none; cursor:pointer; padding:8px;
  width:44px; height:44px; flex-direction:column; align-items:center; justify-content:center; gap:5px;
}
.hamburger span{ width:26px; height:3px; background:var(--navy); border-radius:2px; transition:.25s; }
.hamburger.open span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity:0; }
.hamburger.open span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(230,168,49,0.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue-deep) 100%);
  color:var(--white); overflow:hidden;
}
.hero .wrap{ padding-top:72px; padding-bottom:72px; display:grid; grid-template-columns:1.1fr 0.9fr; gap:40px; align-items:center; }
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.18); padding:7px 16px; border-radius:999px;
  font-size:13px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; margin-bottom:20px;
  color:#F5D07A;
}
.hero-eyebrow svg{ width:14px; height:14px; }
.hero h1{
  font-size:clamp(40px, 6vw, 68px); font-weight:900; line-height:0.98; text-transform:uppercase;
}
.hero h1 .hl-blue{ color:var(--blue); }
.hero h1 .hl-red{ color:var(--red); }
.hero-script{ display:block; font-family:'Caveat', cursive; font-weight:700; font-size:clamp(30px,4.2vw,46px); color:var(--gold); text-transform:none; line-height:1; margin:4px 0 10px; }
.hero p.lead{ font-size:18px; line-height:1.65; color:#D9E7EF; max-width:520px; margin-top:20px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:16px; margin-top:32px; }
.hero-trust{ display:flex; flex-wrap:wrap; gap:24px; margin-top:40px; padding-top:28px; border-top:1px solid rgba(255,255,255,0.15); }
.hero-trust .item{ display:flex; align-items:center; gap:10px; font-size:14px; color:#cfe0ea; font-weight:600; }
.hero-trust svg{ width:20px; height:20px; color:var(--gold); flex:none; }

/* Home hero background photo layer */
.hero-photo{
  position:absolute; inset:0; z-index:0; background-size:cover; background-position:center;
}
.hero-photo::after{
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(230,168,49,0.16), transparent 60%),
    linear-gradient(160deg, rgba(14,36,52,0.93) 0%, rgba(18,52,73,0.90) 55%, rgba(21,78,108,0.86) 100%);
}
.hero.has-photo{ background:var(--navy); }
.hero.has-photo .wrap{ position:relative; z-index:1; }

/* Gauge signature element */
.gauge-wrap{ display:flex; align-items:center; justify-content:center; position:relative; }
.gauge-card{
  background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.16);
  border-radius:24px; padding:28px; backdrop-filter:blur(6px); width:100%; max-width:420px;
}
.gauge-caption{ text-align:center; margin-top:6px; }
.gauge-caption .t1{ font-family:'Barlow Condensed'; text-transform:uppercase; font-weight:800; letter-spacing:.08em; font-size:14px; color:#cfe0ea; }
.gauge-caption .t2{ font-family:'Caveat'; font-weight:700; color:var(--gold); font-size:22px; }
#needle{ transform-origin:150px 175px; animation:sweep 6s ease-in-out infinite; }
@keyframes sweep{
  0%{ transform:rotate(-58deg); }
  50%{ transform:rotate(58deg); }
  100%{ transform:rotate(-58deg); }
}
@media (prefers-reduced-motion: reduce){
  #needle{ animation:none; transform:rotate(0deg); }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero{
  position:relative; color:var(--white); background:var(--navy);
  background-size:cover; background-position:center; overflow:hidden;
}
.page-hero::before{
  content:''; position:absolute; inset:0;
  background:linear-gradient(120deg, rgba(14,36,52,0.92), rgba(18,52,73,0.80));
}
.page-hero .wrap{ position:relative; z-index:1; padding:76px 24px 68px; max-width:760px; }
.page-hero .eyebrow{ color:var(--gold); }
.page-hero h1{ font-size:clamp(34px,5vw,58px); font-weight:900; text-transform:uppercase; line-height:1.02; margin-top:8px; }
.page-hero p{ margin-top:16px; font-size:17px; line-height:1.65; color:#D9E7EF; }
.page-hero .hero-actions{ margin-top:28px; }
.breadcrumb{ font-family:'Barlow Condensed'; font-weight:700; letter-spacing:.05em; text-transform:uppercase; font-size:13px; color:#B9CDD8; margin-bottom:2px; }
.breadcrumb a{ color:#F5D07A; }
.breadcrumb .sep{ margin:0 6px; color:#5b7d8d; opacity:.6; }

/* ---------- Trust strip ---------- */
.strip{ background:var(--cream); border-bottom:1px solid var(--line); }
.strip .wrap{ padding:20px 24px; display:flex; flex-wrap:wrap; gap:14px 36px; justify-content:center; align-items:center; }
.strip .item{ display:flex; align-items:center; gap:9px; font-family:'Barlow Condensed'; font-weight:700; font-size:16px; color:var(--navy); text-transform:uppercase; letter-spacing:.02em; }
.strip svg{ width:20px; height:20px; color:var(--blue-dark); }

/* ---------- Section heading ---------- */
.section-head{ max-width:680px; margin:0 auto 46px; text-align:center; }
.section-head.left{ margin:0 0 40px; text-align:left; }
.eyebrow{ font-family:'Barlow Condensed'; font-weight:800; color:var(--red); text-transform:uppercase; letter-spacing:.12em; font-size:14px; margin-bottom:10px; display:block; }
.section-head h2{ font-size:clamp(30px,4vw,44px); font-weight:900; text-transform:uppercase; color:var(--navy); line-height:1.03; }
.section-head p{ margin-top:14px; color:var(--ink-soft); font-size:16px; line-height:1.6; }

section.pad{ padding:88px 0; }
section.pad-sm{ padding:56px 0; }
.bg-cream{ background:var(--cream); }
.bg-navy{ background:var(--navy); color:var(--white); }
.bg-navy .section-head h2{ color:var(--white); }
.bg-navy .section-head p{ color:#cfe0ea; }

/* ---------- Services ---------- */
.services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.services-grid.cols-4{ grid-template-columns:repeat(4,1fr); }
.service-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:32px 26px; transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position:relative; overflow:hidden;
}
.service-card::before{
  content:''; position:absolute; left:0; top:0; bottom:0; width:5px; background:var(--blue);
}
.service-card:nth-child(3n+2)::before{ background:var(--gold); }
.service-card:nth-child(3n)::before{ background:var(--red); }
.service-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); border-color:transparent; }
.service-icon{ width:52px; height:52px; border-radius:12px; background:var(--navy); display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.service-icon svg{ width:26px; height:26px; color:var(--gold); }
.service-card h3{ font-size:23px; font-weight:800; color:var(--navy); text-transform:uppercase; margin-bottom:10px; }
.service-card p{ color:var(--ink-soft); font-size:15px; line-height:1.6; margin-bottom:16px; }
.service-card .link{ font-family:'Barlow Condensed'; font-weight:700; color:var(--red); text-transform:uppercase; font-size:14px; letter-spacing:.03em; display:inline-flex; align-items:center; gap:6px; }

/* ---------- Split section (image + text) ---------- */
.split-section .wrap{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.split-section.reverse .wrap{ direction:rtl; }
.split-section.reverse .wrap > *{ direction:ltr; }
.split-media{ position:relative; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); aspect-ratio:4/3; }
.split-media img{ width:100%; height:100%; object-fit:cover; }
.split-media .tag{
  position:absolute; left:18px; bottom:18px; background:rgba(14,36,52,0.85); color:#fff;
  font-family:'Barlow Condensed'; font-weight:700; text-transform:uppercase; letter-spacing:.05em;
  font-size:13px; padding:8px 16px; border-radius:999px;
}

/* Built On Experience (home): show the full, uncropped image at its natural size */
#about-teaser .split-media{ aspect-ratio:auto; box-shadow:none; }
#about-teaser .split-media img{ height:auto; object-fit:contain; border-radius:var(--radius); box-shadow:var(--shadow); }
.split-text h2{ font-size:clamp(28px,3.6vw,40px); font-weight:900; text-transform:uppercase; color:var(--navy); margin-bottom:16px; line-height:1.05; }
.split-text p{ color:var(--ink-soft); font-size:16px; line-height:1.7; margin-bottom:14px; }
.split-text .checklist{ margin:20px 0 26px; display:flex; flex-direction:column; gap:12px; }
.split-text .checklist li{ display:flex; gap:10px; align-items:flex-start; font-size:15px; color:var(--ink); }
.split-text .checklist svg{ width:20px; height:20px; color:var(--blue-dark); flex:none; margin-top:1px; }

/* ---------- Why us ---------- */
.why{ background:var(--navy); color:var(--white); }
.why .wrap{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.why .eyebrow{ color:var(--gold); }
.why h2{ color:var(--white); font-size:clamp(28px,3.6vw,42px); text-transform:uppercase; font-weight:900; margin-bottom:20px; }
.why p.desc{ color:#cfe0ea; line-height:1.7; font-size:16px; margin-bottom:10px; }
.why-list{ display:flex; flex-direction:column; gap:20px; margin-top:28px; }
.why-list .row{ display:flex; gap:16px; align-items:flex-start; }
.why-list .num{
  font-family:'Barlow Condensed'; font-weight:900; font-size:22px; color:var(--navy); background:var(--gold);
  width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex:none;
}
.why-list h4{ font-size:19px; text-transform:uppercase; font-weight:800; color:var(--white); }
.why-list p{ color:#b9cdd8; font-size:14.5px; line-height:1.55; margin-top:4px; }

.stat-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.stat-card{ background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.14); border-radius:var(--radius); padding:26px; text-align:center; }
.stat-card .n{ font-family:'Barlow Condensed'; font-weight:900; font-size:44px; color:var(--blue); line-height:1; }
.stat-card .l{ margin-top:8px; font-size:13.5px; color:#cfe0ea; text-transform:uppercase; letter-spacing:.04em; font-weight:700; }

/* ---------- Process ---------- */
.process-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; position:relative; }
.process-grid::before{
  content:''; position:absolute; top:34px; left:8%; right:8%; height:2px;
  background:repeating-linear-gradient(to right, var(--line) 0 10px, transparent 10px 20px);
  z-index:0;
}
.process-step{ position:relative; z-index:1; text-align:center; padding:0 8px; }
.process-step .circle{
  width:68px; height:68px; border-radius:50%; background:var(--white); border:3px solid var(--blue);
  display:flex; align-items:center; justify-content:center; margin:0 auto 18px;
  font-family:'Barlow Condensed'; font-weight:900; font-size:26px; color:var(--blue-dark);
}
.process-step:nth-child(2) .circle{ border-color:var(--gold); color:var(--gold-dark); }
.process-step:nth-child(3) .circle{ border-color:var(--red); color:var(--red-dark); }
.process-step:nth-child(4) .circle{ border-color:var(--navy); color:var(--navy); }
.process-step h4{ text-transform:uppercase; font-size:19px; font-weight:800; color:var(--navy); margin-bottom:8px; }
.process-step p{ font-size:14.5px; color:var(--ink-soft); line-height:1.55; }

/* ---------- Testimonials ---------- */
.testi-bg{ background:var(--cream); }
.testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.testi-card{ background:var(--white); border-radius:var(--radius); padding:28px; box-shadow:0 10px 26px -18px rgba(14,36,52,0.4); }
.stars{ display:flex; gap:3px; margin-bottom:14px; }
.stars svg{ width:18px; height:18px; color:var(--gold); }
.testi-card p.quote{ font-size:15.5px; line-height:1.65; color:var(--ink); margin-bottom:18px; }
.testi-card .who{ display:flex; align-items:center; gap:12px; }
.testi-card .avatar{ width:42px; height:42px; border-radius:50%; background:var(--navy); color:var(--gold); display:flex; align-items:center; justify-content:center; font-family:'Barlow Condensed'; font-weight:800; font-size:16px; flex:none; }
.testi-card .name{ font-weight:700; font-size:14.5px; }
.testi-card .loc{ font-size:13px; color:var(--ink-soft); }

.testi-rating{ display:flex; align-items:center; justify-content:center; gap:10px; margin-top:14px; flex-wrap:wrap; }
.testi-rating .stars{ margin-bottom:0; }
.testi-rating .stars svg{ width:20px; height:20px; }
.testi-rating span{ font-family:'Barlow Condensed'; font-weight:700; font-size:16px; color:var(--navy); }

/* ---------- Testimonial carousel ---------- */
.testi-carousel{ max-width:620px; margin:44px auto 0; }
.testi-track{ position:relative; }
.testi-slide{ display:none; }
.testi-slide.active{ display:block; animation:testiFade .45s ease; }
@keyframes testiFade{ from{ opacity:0; transform:translateY(6px); } to{ opacity:1; transform:translateY(0); } }
.testi-carousel .testi-card{ min-height:230px; display:flex; flex-direction:column; justify-content:center; }
.testi-nav{ display:flex; align-items:center; justify-content:center; gap:20px; margin-top:26px; }
.testi-arrow{
  width:42px; height:42px; border-radius:50%; border:1.5px solid var(--line); background:var(--white);
  color:var(--navy); font-size:22px; line-height:1; display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:background .2s, border-color .2s; flex:none;
}
.testi-arrow:hover{ background:var(--cream); border-color:var(--blue); }
.testi-dots{ display:flex; align-items:center; gap:8px; }
.t-dot{ width:9px; height:9px; border-radius:50%; background:var(--line); border:none; padding:0; cursor:pointer; transition:width .2s, background .2s; }
.t-dot.active{ width:24px; border-radius:5px; background:var(--red); }

/* ---------- Desktop testimonial marquee (3-up, continuous scroll) ---------- */
.testi-marquee-wrap{
  overflow:hidden; margin:44px auto 0; max-width:1132px;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  mask-image:linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}
.testi-marquee-track{ display:flex; gap:24px; width:max-content; animation:testiScroll 42s linear infinite; }
.testi-marquee-track:hover{ animation-play-state:paused; }
.testi-marquee-track .testi-card{ width:360px; flex:0 0 360px; }
@keyframes testiScroll{ from{ transform:translateX(0); } to{ transform:translateX(-2304px); } }
@media (prefers-reduced-motion:reduce){ .testi-marquee-track{ animation:none; } }

@media (min-width:861px){
  .testi-carousel{ display:none; }
}
@media (max-width:860px){
  .testi-marquee-wrap{ display:none; }
}

/* ---------- Badges (trust / certs) ---------- */
.badge-row{ display:flex; flex-wrap:wrap; gap:16px; justify-content:center; margin-top:10px; }
.badge{
  display:flex; align-items:center; gap:10px; background:var(--white); border:1.5px solid var(--line);
  padding:14px 20px; border-radius:12px; font-family:'Barlow Condensed'; font-weight:700; font-size:15px;
  color:var(--navy); text-transform:uppercase; letter-spacing:.02em;
}
.badge svg{ width:24px; height:24px; color:var(--gold-dark); flex:none; }

/* ---------- Cert / license grid ---------- */
.cert-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.cert-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:26px 20px;
  text-align:center;
}
.cert-card .ic{ width:56px; height:56px; border-radius:50%; background:var(--cream); display:flex; align-items:center; justify-content:center; margin:0 auto 16px; }
.cert-card .ic svg{ width:28px; height:28px; color:var(--blue-dark); }
.cert-card h4{ font-size:17px; font-weight:800; text-transform:uppercase; color:var(--navy); margin-bottom:6px; }
.cert-card p{ font-size:13.5px; color:var(--ink-soft); line-height:1.5; }

/* ---------- Team ---------- */
.team-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.team-card{ text-align:center; }
.team-card .photo{
  width:100%; aspect-ratio:1; border-radius:50%; background:var(--navy);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px; overflow:hidden;
  border:4px solid var(--cream); box-shadow:var(--shadow);
}
.team-card .photo span{ font-family:'Barlow Condensed'; font-weight:900; font-size:40px; color:var(--gold); }
.team-card h4{ font-size:19px; font-weight:800; text-transform:uppercase; color:var(--navy); }
.team-card .role{ font-family:'Barlow Condensed'; font-weight:700; color:var(--red); text-transform:uppercase; font-size:13.5px; letter-spacing:.04em; margin:4px 0 10px; }
.team-card p{ font-size:14px; color:var(--ink-soft); line-height:1.55; }

/* ---------- Values ---------- */
.value-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.value-card{ background:var(--cream); border-radius:var(--radius); padding:30px 26px; }
.value-card .ic{ width:52px; height:52px; border-radius:12px; background:var(--navy); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.value-card .ic svg{ width:26px; height:26px; color:var(--gold); }
.value-card h4{ font-size:20px; font-weight:800; text-transform:uppercase; color:var(--navy); margin-bottom:8px; }
.value-card p{ font-size:14.5px; color:var(--ink-soft); line-height:1.6; }

/* ---------- Timeline (company history) ---------- */
.timeline{ display:flex; flex-direction:column; gap:0; }
.timeline .tl-row{ display:grid; grid-template-columns:110px 1fr; gap:24px; padding-bottom:34px; position:relative; }
.timeline .tl-row::before{
  content:''; position:absolute; left:145px; top:6px; bottom:-6px; width:2px;
  background:repeating-linear-gradient(to bottom, var(--line) 0 8px, transparent 8px 16px);
}
.timeline .tl-row:last-child::before{ display:none; }
.timeline .yr{ font-family:'Barlow Condensed'; font-weight:900; font-size:30px; color:var(--blue-dark); text-align:right; }
.timeline .tl-dot{ display:none; }
.timeline .tl-content h4{ font-size:19px; font-weight:800; text-transform:uppercase; color:var(--navy); margin-bottom:6px; }
.timeline .tl-content p{ font-size:14.5px; color:var(--ink-soft); line-height:1.6; }

/* ---------- Pricing / Plans ---------- */
.plan-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:stretch; }
.plan-card{
  background:var(--white); border:1.5px solid var(--line); border-radius:var(--radius); padding:34px 28px;
  display:flex; flex-direction:column;
}
.plan-card.featured{ border-color:var(--gold); box-shadow:var(--shadow); position:relative; transform:scale(1.02); }
.plan-card .ribbon{
  position:absolute; top:-14px; left:50%; transform:translateX(-50%); background:var(--gold); color:var(--navy);
  font-family:'Barlow Condensed'; font-weight:800; text-transform:uppercase; letter-spacing:.05em; font-size:12.5px;
  padding:6px 16px; border-radius:999px; white-space:nowrap;
}
.plan-card h3{ font-size:22px; font-weight:800; text-transform:uppercase; color:var(--navy); }
.plan-card .price{ font-family:'Barlow Condensed'; font-weight:900; font-size:44px; color:var(--red); margin:14px 0 20px; }
.plan-card .price span{ font-size:16px; font-weight:700; color:var(--ink-soft); text-transform:none; }
.plan-card .period{ font-size:13px; color:var(--ink-soft); margin-bottom:20px; }
.plan-card ul{ display:flex; flex-direction:column; gap:12px; margin-bottom:26px; flex:1; }
.plan-card li{ display:flex; gap:10px; align-items:flex-start; font-size:14.5px; color:var(--ink); }
.plan-card li svg{ width:19px; height:19px; color:var(--blue-dark); flex:none; margin-top:1px; }

/* ---------- Emergency ---------- */
.emergency-banner{
  background:linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%); color:#fff; text-align:center;
}
.emergency-banner .wrap{ padding:36px 24px; }
.emergency-banner .big-call{
  font-family:'Barlow Condensed'; font-weight:900; font-size:clamp(30px,5vw,48px); letter-spacing:.02em;
}
.emergency-banner p{ margin-top:8px; color:#ffe2e2; font-size:15.5px; }
.qualify-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.qualify-card{ display:flex; gap:16px; align-items:flex-start; background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:22px; }
.qualify-card.no{ background:#FBEEEE; border-color:rgba(226,48,46,0.25); }
.qualify-card .ic{ width:42px; height:42px; border-radius:10px; display:flex; align-items:center; justify-content:center; flex:none; }
.qualify-card.yes .ic{ background:#E7F4EC; }
.qualify-card.yes .ic svg{ color:#1F9254; }
.qualify-card.no .ic{ background:#FBE0E0; }
.qualify-card.no .ic svg{ color:var(--red); }
.qualify-card .ic svg{ width:22px; height:22px; }
.qualify-card h4{ font-size:16.5px; font-weight:800; color:var(--navy); text-transform:uppercase; margin-bottom:4px; }
.qualify-card p{ font-size:14px; color:var(--ink-soft); line-height:1.5; }

.hours-table{ width:100%; border-collapse:collapse; }
.hours-table td{ padding:12px 0; border-bottom:1px solid var(--line); font-size:15px; }
.hours-table td:first-child{ font-family:'Barlow Condensed'; font-weight:700; color:var(--navy); text-transform:uppercase; letter-spacing:.02em; }
.hours-table td:last-child{ text-align:right; color:var(--ink-soft); }
.hours-table tr:last-child td{ border-bottom:none; }

/* ---------- CTA banner ---------- */
.cta-banner{
  background:linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
  color:var(--white);
}
.cta-banner .wrap{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding:56px 24px; flex-wrap:wrap; }
.cta-banner h2{ font-size:clamp(26px,3.4vw,38px); font-weight:900; text-transform:uppercase; max-width:560px; line-height:1.05; }
.cta-banner .sub{ margin-top:10px; color:#ffe2e2; font-size:15.5px; }
.cta-banner .actions{ display:flex; gap:16px; flex-wrap:wrap; }
.cta-banner .btn-outline{ border-color:rgba(255,255,255,0.6); }

/* ---------- Financing / offers ---------- */
.offer-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.offer-card{ background:var(--navy); color:#fff; border-radius:var(--radius); padding:28px 26px; position:relative; overflow:hidden; }
.offer-card::before{ content:''; position:absolute; top:-30px; right:-30px; width:120px; height:120px; border-radius:50%; background:rgba(230,168,49,0.15); }
.offer-card .tag{ font-family:'Barlow Condensed'; font-weight:800; color:var(--gold); text-transform:uppercase; letter-spacing:.05em; font-size:13px; }
.offer-card h3{ font-size:24px; font-weight:900; text-transform:uppercase; margin:10px 0 10px; position:relative; }
.offer-card p{ font-size:14.5px; color:#cfe0ea; line-height:1.6; position:relative; }

/* ---------- Service area ---------- */
.area-chips{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-top:10px; }
.area-chips span{
  background:var(--white); border:1.5px solid var(--line); padding:9px 18px; border-radius:999px;
  font-size:14px; font-weight:600; color:var(--navy); font-family:'Inter';
}

/* ---------- Contact ---------- */
.contact-wrap{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:48px; align-items:start; }
.contact-info h2{ font-size:clamp(28px,3.6vw,38px); font-weight:900; text-transform:uppercase; color:var(--navy); margin-bottom:16px; }
.contact-info p{ color:var(--ink-soft); line-height:1.65; margin-bottom:26px; }
.info-line{ display:flex; gap:14px; align-items:flex-start; margin-bottom:22px; }
.info-line .ic{ width:42px; height:42px; border-radius:10px; background:var(--cream); display:flex; align-items:center; justify-content:center; flex:none; }
.info-line .ic svg{ width:20px; height:20px; color:var(--blue-dark); }
.info-line .t{ font-weight:700; font-size:15px; color:var(--navy); }
.info-line .d{ font-size:14.5px; color:var(--ink-soft); margin-top:2px; }
.info-line a.big-num{ font-family:'Barlow Condensed'; font-size:26px; font-weight:800; color:var(--red); }

form.quote-form{ background:var(--cream); border-radius:var(--radius); padding:34px; border:1px solid var(--line); }
form.quote-form .row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; }
form.quote-form label{ display:block; font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.03em; color:var(--navy); margin-bottom:6px; }
form.quote-form input, form.quote-form select, form.quote-form textarea{
  width:100%; padding:13px 14px; border-radius:9px; border:1.5px solid var(--line); font-family:'Inter'; font-size:15px;
  background:var(--white); color:var(--ink);
}
form.quote-form input:focus, form.quote-form select:focus, form.quote-form textarea:focus{ outline:none; border-color:var(--blue); box-shadow:0 0 0 3px rgba(63,166,216,0.18); }
form.quote-form textarea{ resize:vertical; min-height:110px; }
form.quote-form .full{ grid-column:1 / -1; margin-bottom:16px; }
form.quote-form button{ width:100%; border:none; margin-top:6px; }

form.quote-form .consent-line{ display:flex; align-items:flex-start; gap:10px; grid-column:1 / -1; margin-bottom:18px; }
form.quote-form .consent-line input[type="checkbox"]{
  width:19px; height:19px; margin-top:2px; flex:none; accent-color:var(--blue-dark); cursor:pointer;
}
form.quote-form .consent-line label{
  font-size:13px; font-weight:500; text-transform:none; letter-spacing:normal; color:var(--ink-soft);
  line-height:1.55; margin-bottom:0; cursor:pointer;
}
form.quote-form .consent-line a{ color:var(--blue-dark); text-decoration:underline; font-weight:600; }

.map-embed{ border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow); }

/* ---------- Legal / policy pages ---------- */
.legal-content{ max-width:840px; margin:0 auto; }
.legal-content .updated{ color:var(--ink-soft); font-size:13.5px; margin:0 0 34px; }
.legal-content h2{ font-size:clamp(22px,2.6vw,28px); font-weight:800; text-transform:uppercase; letter-spacing:.02em; color:var(--navy); margin:40px 0 14px; }
.legal-content h2:first-of-type{ margin-top:0; }
.legal-content h3{ font-size:17px; font-weight:800; color:var(--navy); margin:22px 0 8px; }
.legal-content p{ color:var(--ink-soft); line-height:1.75; margin:0 0 16px; font-size:15.5px; }
.legal-content ul{ list-style:disc; padding-left:22px; margin:0 0 16px; }
.legal-content li{ color:var(--ink-soft); line-height:1.75; margin-bottom:8px; font-size:15.5px; }
.legal-content a{ color:var(--blue-dark); text-decoration:underline; }
.legal-content strong{ color:var(--ink); }
.map-embed iframe{ width:100%; height:340px; border:0; display:block; }

/* ---------- Footer ---------- */
footer{ background:var(--navy); color:#b9cdd8; padding-top:64px; }
.footer-grid{ display:grid; grid-template-columns:1.3fr 0.8fr 0.8fr 1fr; gap:40px; padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,0.12); }
.footer-logo img{ height:56px; width:auto; background:var(--white); padding:8px 12px; border-radius:8px; margin-bottom:16px; }
.footer-grid p{ font-size:14px; line-height:1.65; }
.footer-col h5{ font-family:'Barlow Condensed'; text-transform:uppercase; letter-spacing:.05em; font-weight:800; color:var(--white); font-size:16px; margin-bottom:16px; }
.footer-col ul li{ margin-bottom:10px; }
.footer-col a{ font-size:14px; color:#b9cdd8; transition:color .15s; }
.footer-col a:hover{ color:var(--gold); }
.footer-social{ display:flex; gap:10px; margin-top:16px; }
.footer-social a{ width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,0.08); display:flex; align-items:center; justify-content:center; }
.footer-social svg{ width:17px; height:17px; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding:22px 0; font-size:13px; color:#8fa6b3; flex-wrap:wrap; gap:10px; }
.footer-bottom a{ color:#8fa6b3; }
.footer-bottom a:hover{ color:var(--gold); }

/* ---------- Preloader ---------- */
.preloader{
  position:fixed; inset:0; z-index:500; display:flex; align-items:center; justify-content:center;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(230,168,49,0.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue-deep) 100%);
  transition:opacity .5s ease, visibility .5s ease;
}
.preloader.hidden{ opacity:0; visibility:hidden; pointer-events:none; }
.preloader-inner{ text-align:center; color:#fff; }
.preloader-logo{ height:60px; width:auto; margin:0 auto 26px; border-radius:8px; background:#fff; padding:8px 14px; animation:pulseLogo 1.6s ease-in-out infinite; }
@keyframes pulseLogo{ 0%,100%{ transform:scale(1); opacity:1; } 50%{ transform:scale(1.05); opacity:.85; } }
.preloader-gauge svg{ display:block; margin:0 auto; }
#preloaderArc{ animation:fillArc 1.4s ease-in-out infinite; }
@keyframes fillArc{ 0%{ stroke-dashoffset:157; } 50%{ stroke-dashoffset:0; } 100%{ stroke-dashoffset:157; } }
.preloader-text{ margin-top:18px; font-family:'Barlow Condensed'; font-weight:700; letter-spacing:.05em; text-transform:uppercase; font-size:13.5px; color:#cfe0ea; }
@media (prefers-reduced-motion: reduce){
  .preloader-logo, #preloaderArc{ animation:none; }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal{
  opacity:0; transform:translateY(30px);
  transition:opacity .8s cubic-bezier(.16,.84,.44,1), transform .8s cubic-bezier(.16,.84,.44,1);
  transition-delay:calc(var(--d, 0) * 90ms);
  will-change:opacity, transform;
}
.reveal.in-view{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* ---------- Carousel ---------- */
.carousel{ position:relative; height:440px; overflow:hidden; background:var(--navy); }
.carousel-slide{
  position:absolute; inset:0; opacity:0; visibility:hidden;
  background-size:cover; background-position:center;
  display:flex; align-items:center;
  transition:opacity 1.1s ease, visibility 1.1s ease;
}
.carousel-slide.active{ opacity:1; visibility:visible; }
.carousel-content{ max-width:640px; color:#fff; }
.carousel-tag{
  display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.25); padding:7px 16px; border-radius:999px;
  font-family:'Barlow Condensed'; font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:#F5D07A; margin-bottom:16px;
}
.carousel-content h2{ font-size:clamp(28px,4vw,42px); font-weight:900; text-transform:uppercase; color:#fff; line-height:1.06; margin-bottom:14px; }
.carousel-content p{ font-size:16px; line-height:1.6; color:#dfeaf1; max-width:520px; }
.carousel-dots{ position:absolute; left:0; right:0; bottom:20px; display:flex; gap:10px; justify-content:center; z-index:2; }
.carousel-dots .dot{
  width:11px; height:11px; border-radius:50%; border:2px solid rgba(255,255,255,0.6); background:transparent;
  padding:0; cursor:pointer; transition:background .2s ease, transform .2s ease;
}
.carousel-dots .dot.active{ background:var(--gold); border-color:var(--gold); transform:scale(1.15); }
.carousel-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:2;
  width:44px; height:44px; border-radius:50%; border:1px solid rgba(255,255,255,0.35);
  background:rgba(14,36,52,0.35); color:#fff; font-size:24px; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:background .2s ease;
}
.carousel-arrow:hover{ background:rgba(14,36,52,0.6); }
.carousel-arrow.prev{ left:20px; }
.carousel-arrow.next{ right:20px; }

/* ---------- Floating Schedule button (desktop) ---------- */
.floating-schedule{
  position:fixed; right:26px; bottom:26px; z-index:190;
  background:var(--gold); color:var(--navy); font-family:'Barlow Condensed'; font-weight:800;
  text-transform:uppercase; letter-spacing:.03em; font-size:16px; padding:16px 26px; border-radius:999px;
  display:flex; align-items:center; gap:10px; box-shadow:0 16px 30px -12px rgba(14,36,52,0.5);
  transition:transform .18s ease, background .18s ease;
}
.floating-schedule:hover{ background:var(--gold-dark); transform:translateY(-3px); }
.floating-schedule svg{ width:20px; height:20px; }

/* ---------- Mobile sticky action bar ---------- */
.mobile-action-bar{
  position:fixed; left:0; right:0; bottom:0; z-index:200; display:none;
  box-shadow:0 -8px 20px rgba(0,0,0,0.2);
}
.mobile-action-bar a{
  flex:1; display:flex; align-items:center; justify-content:center; gap:8px;
  padding:15px 10px; font-family:'Barlow Condensed'; font-weight:800; font-size:15.5px;
  text-transform:uppercase; letter-spacing:.02em;
}
.mobile-action-bar a svg{ width:18px; height:18px; }
.mobile-action-bar .call{ background:var(--red); color:#fff; }
.mobile-action-bar .schedule{ background:var(--gold); color:var(--navy); }

/* ================= RESPONSIVE ================= */
@media (max-width:1200px){
  .services-grid.cols-4{ grid-template-columns:repeat(2,1fr); }
  .cert-grid{ grid-template-columns:repeat(2,1fr); }
  .team-grid{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:1024px){
  .hero .wrap{ grid-template-columns:1fr; }
  .gauge-wrap{ order:-1; margin-bottom:10px; }
  .gauge-card{ max-width:320px; margin:0 auto; }
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .why .wrap{ grid-template-columns:1fr; }
  .stat-grid{ margin-top:10px; }
  .process-grid{ grid-template-columns:repeat(2,1fr); row-gap:36px; }
  .process-grid::before{ display:none; }
  .testi-grid{ grid-template-columns:repeat(2,1fr); }
  .contact-wrap{ grid-template-columns:1fr; }
  .carousel{ height:400px; }
  .split-section .wrap{ grid-template-columns:1fr; gap:36px; }
  .split-section.reverse .wrap{ direction:ltr; }
  .split-media{ order:-1; }
  .plan-grid{ grid-template-columns:1fr 1fr; }
  .offer-grid{ grid-template-columns:1fr 1fr; }
  .qualify-grid{ grid-template-columns:1fr; }
  .value-grid{ grid-template-columns:1fr 1fr; }
  .timeline .tl-row{ grid-template-columns:90px 1fr; gap:16px; }
  .timeline .tl-row::before{ left:115px; }
}

@media (max-width:860px){
  .topbar{ font-size:12px; }
  nav.primary-nav{
    position:fixed; top:0; right:-100%; height:100vh; width:82%; max-width:340px;
    background:var(--white); flex-direction:column; align-items:flex-start; justify-content:flex-start;
    padding:100px 30px 30px; gap:6px; transition:right .3s ease; box-shadow:-10px 0 30px rgba(0,0,0,0.15);
    z-index:150; overflow-y:auto;
  }
  nav.primary-nav.open{ right:0; }
  nav.primary-nav a{ font-size:22px; padding:12px 0; width:100%; border-bottom:1px solid var(--line); }
  nav.primary-nav .nav-cta{ border-radius:10px; justify-content:center; margin:10px 0; border-bottom:none; }
  .has-dropdown{ width:100%; padding-bottom:0; margin-bottom:0; }
  .dropdown{
    position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:none;
    padding:0 0 0 16px; margin-top:4px; min-width:0; display:none;
  }
  .has-dropdown.open .dropdown{ display:block; }
  .has-dropdown.open > .nav-link svg{ transform:rotate(180deg); }
  .dropdown a{ font-size:17px; padding:10px 0; border-bottom:1px solid var(--line); }
  .nav-scrim{ display:none; position:fixed; inset:0; background:rgba(14,36,52,0.5); z-index:140; }
  .nav-scrim.open{ display:block; }
  .hamburger{ display:flex; }
  .header-call{ display:none; }
  .logo-link img{ height:52px; }
  body{ padding-bottom:64px; }
  .mobile-action-bar{ display:flex; }
  .floating-schedule{ display:none; }
  .carousel{ height:380px; }
  .carousel-arrow{ width:36px; height:36px; font-size:20px; }
  .carousel-arrow.prev{ left:10px; }
  .carousel-arrow.next{ right:10px; }
  .page-hero .wrap{ padding:56px 24px 48px; }
}

@media (max-width:700px){
  section.pad{ padding:60px 0; }
  .services-grid{ grid-template-columns:1fr; }
  .services-grid.cols-4{ grid-template-columns:1fr; }
  .process-grid{ grid-template-columns:1fr; }
  .testi-grid{ grid-template-columns:1fr; }
  .strip .wrap{ justify-content:flex-start; }
  .carousel{ height:340px; }
  .carousel-content{ padding-left:52px; padding-right:52px; }
  .carousel-content p{ display:none; }
  .cta-banner .wrap{ flex-direction:column; text-align:center; justify-content:center; }
  .cta-banner .actions{ justify-content:center; }
  form.quote-form .row{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; row-gap:36px; }
  .why-list .row{ align-items:center; }
  .cert-grid{ grid-template-columns:1fr; }
  .team-grid{ grid-template-columns:1fr 1fr; }
  .plan-grid{ grid-template-columns:1fr; }
  .plan-card.featured{ transform:none; }
  .offer-grid{ grid-template-columns:1fr; }
  .value-grid{ grid-template-columns:1fr; }
  .timeline .tl-row{ grid-template-columns:1fr; gap:6px; }
  .timeline .yr{ text-align:left; }
  .timeline .tl-row::before{ display:none; }
}

@media (max-width:480px){
  .hero .wrap{ padding-top:44px; padding-bottom:44px; }
  .hero-actions .btn{ width:100%; }
  .hero-actions{ flex-direction:column; }
  .footer-grid{ grid-template-columns:1fr; }
  .topbar .wrap{ justify-content:center; text-align:center; }
  .logo-link img{ height:44px; }
  .team-grid{ grid-template-columns:1fr; }
}
