/* =========================================================
   Canadian Insulation Experts — styles.css
   Palette: Navy #0D2D56 · Orange #F47C20 · White · Gray #F1F3F5 · Charcoal #212529
   ========================================================= */

:root {
  --navy: #0D2D56;
  --navy-700: #0a2444;
  --navy-900: #071a33;
  --orange: #F47C20;
  --orange-600: #e06d13;
  --white: #FFFFFF;
  --gray: #F1F3F5;
  --gray-200: #e4e8ec;
  --charcoal: #212529;
  --muted: #5c6773;
  --line: #e6e9ee;

  --maxw: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(13, 45, 86, 0.06);
  --shadow: 0 10px 30px rgba(13, 45, 86, 0.10);
  --shadow-lg: 0 24px 60px rgba(13, 45, 86, 0.16);
  --font-head: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; color: var(--navy); font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
.text-orange { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(244,124,32,.28); }
.btn--primary:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(244,124,32,.34); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--gray-200); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #cfd8e6; font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; gap: 12px; height: 40px; }
.topbar__sep { opacity: .5; }
.topbar__item { white-space: nowrap; }
.topbar__phone { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 600; }
.topbar__phone svg { width: 15px; height: 15px; fill: var(--orange); }
.topbar__phone:hover { color: var(--orange); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: transform .32s ease; will-change: transform; }
.header--hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; gap: 20px; height: 156px; }
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo__mark { width: 42px; height: 42px; flex: none; }
.logo__img { height: 142px; width: auto; display: block; }
.logo__img--light { filter: brightness(0) invert(1); }
.logo__text { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--navy); line-height: 1.05; letter-spacing: -.2px; }
.logo__text strong { color: var(--orange); font-weight: 800; }
.logo--light .logo__text { color: #fff; }

.nav { display: flex; align-items: center; gap: 28px; margin: 0 auto; }
.nav__link { font-weight: 500; color: var(--charcoal); font-size: 15px; position: relative; white-space: nowrap; }
.nav { gap: 24px; }
.nav__link::after { content:""; position:absolute; left:0; bottom:-6px; width:0; height:2px; background: var(--orange); transition: width .2s ease; }
.nav__link:hover { color: var(--navy); }
.nav__link:hover::after { width: 100%; }

/* Dropdown nav */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link--dropdown { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.nav__caret { width: 15px; height: 15px; flex: none; transition: transform .2s ease; }
.nav__item--has-dropdown:hover .nav__caret,
.nav__item--has-dropdown:focus-within .nav__caret { transform: rotate(180deg); }
.nav__dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 232px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 14px 34px rgba(13,45,86,.14);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease; z-index: 60;
}
.nav__dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__item--has-dropdown:hover .nav__dropdown,
.nav__item--has-dropdown:focus-within .nav__dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(2px);
}
.nav__dropdown a {
  padding: 10px 14px; border-radius: 8px; white-space: nowrap;
  font-size: 14.5px; font-weight: 500; color: var(--charcoal);
  transition: background .15s ease, color .15s ease;
}
.nav__dropdown a::after { display: none; }
.nav__dropdown a:hover { background: var(--gray); color: var(--navy); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.header__call { color: var(--navy); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; border: none; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.hamburger span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .25s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 14px 24px 22px; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px 6px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu a.btn { border: none; margin-top: 10px; justify-content: center; color: #fff; }

/* Mobile submenu */
.mobile-menu__group { display: flex; flex-direction: column; }
.mobile-menu__toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 12px 6px; font-family: inherit; font-size: 15px; font-weight: 500;
  color: var(--charcoal); background: transparent; border: none;
  border-bottom: 1px solid var(--line); cursor: pointer;
}
.mobile-menu__toggle[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }
.mobile-submenu { display: flex; flex-direction: column; }
.mobile-submenu[hidden] { display: none; }
.mobile-submenu a { padding-left: 22px; font-weight: 400; color: var(--charcoal); }

/* ---------- Hero ---------- */
.hero { background:
    radial-gradient(1200px 500px at 80% -10%, rgba(244,124,32,.16), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #eaf0f8; padding: 72px 0 84px; overflow: hidden; }

/* Hero with blurred photo background (attic page) */
.hero--photo { position: relative; }
.hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("canadian-insulation-experts-toronto-homes.jpg") center 35% / cover no-repeat;
  filter: blur(2px); transform: scale(1.04);
}
.hero--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(1200px 520px at 80% -10%, rgba(244,124,32,.22), transparent 60%),
    linear-gradient(180deg, rgba(13,45,86,.82) 0%, rgba(10,36,68,.90) 100%);
}
.hero--photo .hero__inner { position: relative; z-index: 2; }
.hero--home::before { background-image: url("canadian-insulation-experts-gta-home-exterior.png"); }
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .3px; text-transform: uppercase; color: var(--orange); background: rgba(244,124,32,.12); border: 1px solid rgba(244,124,32,.3); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.hero__title { color: #fff; font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; letter-spacing: -1px; }
.hero__sub { margin-top: 20px; font-size: 18px; color: #c4d1e4; max-width: 560px; }
.hero__sub strong { color: #fff; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.hero__badges li { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 500; color: #cdd9ea; }
.hero__badges svg { width: 22px; height: 22px; color: var(--orange); flex: none; }

/* Quote card */
.quote-card { background: #fff; color: var(--charcoal); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 28px; border: 1px solid rgba(255,255,255,.5); }
.quote-card__head { margin-bottom: 18px; }
.quote-card__head h2, .quote-card__head h3 { font-size: 23px; }
.quote-card__head p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.quote-card--light { box-shadow: var(--shadow); }

/* Forms */
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.field .optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--charcoal);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); transition: border-color .15s ease, box-shadow .15s ease; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244,124,32,.15); }
.field textarea { resize: vertical; }
.field input.invalid, .field select.invalid { border-color: #e5484d; box-shadow: 0 0 0 3px rgba(229,72,77,.12); }
.lead-form__note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 2px; }
.lead-form__success { display: none; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 26px 10px; color: var(--navy); }
.lead-form__success svg { width: 52px; height: 52px; color: #2e9e5b; }
.lead-form__success p { font-size: 15.5px; }
.lead-form.is-success .field, .lead-form.is-success > button, .lead-form.is-success .lead-form__note, .lead-form.is-success .field-row { display: none; }
.lead-form.is-success .lead-form__success { display: flex; }

/* ---------- Stats ---------- */
.stats { background: var(--navy-900); padding: 42px 0; }
.stats__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { display: flex; align-items: center; gap: 14px; justify-content: center; }
.stat__icon { width: 38px; height: 38px; color: var(--orange); flex: none; }
.stat__num { display: block; font-family: var(--font-head); font-weight: 700; font-size: 21px; color: #fff; line-height: 1.1; }
.stat__label { display: block; font-size: 13px; color: #9fb0c9; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--gray { background: var(--gray); }
.section--navy { background:
    radial-gradient(900px 400px at 15% 0%, rgba(244,124,32,.14), transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-700) 100%); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section__eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .6px; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.section__eyebrow--light { color: var(--orange); }
.section__title { font-size: clamp(27px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.5px; }
.section__title--light { color: #fff; }
.section__lead { margin-top: 14px; color: var(--muted); font-size: 17px; }
.section--navy .section__lead, .section--navy em { color: #c4d1e4; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }

/* ---------- Services ---------- */
.service { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-align: center;
  transition: box-shadow .28s ease, border-color .28s ease, opacity .6s ease var(--rd, 0s), transform .6s cubic-bezier(.2,.7,.3,1) var(--rd, 0s); }
.service__art { position: relative; padding: 26px 20px 20px; background: linear-gradient(180deg, var(--gray) 0%, #e9eef4 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.service__art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(140px 90px at 76% 24%, rgba(244,124,32,.12), transparent 70%); opacity: 0; transition: opacity .3s ease; }
.svc-art { width: 100%; max-width: 200px; height: 122px; margin: 0 auto; color: var(--navy); transition: transform .4s cubic-bezier(.2,.7,.3,1); }
.service h3 { font-size: 20px; margin: 20px 26px 8px; transition: color .2s ease; }
.service > p { color: var(--muted); font-size: 15px; margin: 0 26px 16px; }
.service .ticks { text-align: left; margin: 0 26px 28px; }
.service:hover { box-shadow: var(--shadow-lg); border-color: rgba(244,124,32,.45); }
.service:hover .svc-art { transform: scale(1.07); }
.service:hover .service__art::after { opacity: 1; }
.service:hover h3 { color: var(--orange); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-visible { opacity: 1; transform: none; }
.services .service:nth-child(1) { --rd: 0s; }
.services .service:nth-child(2) { --rd: .08s; }
.services .service:nth-child(3) { --rd: .16s; }
.services .service:nth-child(4) { --rd: .04s; }
.services .service:nth-child(5) { --rd: .12s; }
.services .service:nth-child(6) { --rd: .20s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }
.ticks li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--charcoal); margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: rgba(46,158,91,.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232e9e5b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12l4 4 10-10'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center; }

/* ---------- Rebate band ---------- */
.rebate { background: linear-gradient(100deg, var(--orange) 0%, #ff9a4d 100%); color: #fff; padding: 64px 0; }
.rebate__inner { display: flex; align-items: center; gap: 36px; }
.rebate__text h2 { color: #fff; font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.rebate__text .text-orange { color: var(--navy); }
.rebate__text p { color: rgba(255,255,255,.92); margin-top: 8px; max-width: 720px; }
.rebate .btn--primary { background: var(--navy); box-shadow: 0 10px 24px rgba(7,26,51,.3); flex: none; }
.rebate .btn--primary:hover { background: var(--navy-900); }

/* ---------- Features ---------- */
.feature { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.feature__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 17px; margin-bottom: 5px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* Why us — cards left, image + warranty badge right */
.whyus { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: stretch; }
.whyus__content { display: flex; flex-direction: column; }
.whyus__content .section__eyebrow { display: inline-block; margin-bottom: 12px; }
.whyus__content .section__title { text-align: left; margin-bottom: 28px; }
.whyus__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.whyus__cards .feature { padding: 20px; }
.whyus__media { position: relative; }
.whyus__img { height: 100%; min-height: 420px; border-radius: var(--radius); background: linear-gradient(135deg, #e9eef4 0%, #dbe3ec 100%); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.whyus__img svg { width: 64px; height: 64px; color: var(--navy); opacity: .16; }
.whyus__img:has(img) { background: #fff; padding: 18px; }
.whyus__img img { width: 100%; height: 100%; object-fit: contain; }
.whyus__badge { position: absolute; left: 26px; bottom: -24px; background: var(--navy); border-radius: 14px; padding: 16px 24px; box-shadow: 0 16px 34px rgba(13,45,86,.30); }
.whyus__badge strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 26px; line-height: 1; color: var(--orange); }
.whyus__badge span { display: block; margin-top: 5px; font-size: 12.5px; font-weight: 400; color: #dbe6f5; }
@media (max-width: 860px) {
  .whyus { grid-template-columns: 1fr; gap: 40px; }
  .whyus__img { min-height: 300px; }
  .whyus__cards .feature { flex-direction: column; gap: 12px; padding: 20px 16px; }
}
@media (max-width: 480px) {
  .whyus__cards { gap: 14px; }
}

/* Attic vs wall — text stack left, image right (no boxes, flowing) */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: stretch; }
.compare__content .section__eyebrow { display: inline-block; margin-bottom: 12px; }
.compare__content .section__title { text-align: left; }
.compare__intro { color: var(--muted); font-size: 16px; margin: 14px 0 26px; line-height: 1.6; }
.compare__item { padding-top: 22px; margin-top: 22px; border-top: 1px solid var(--line); }
.compare__item h3 { font-size: 19px; margin-bottom: 8px; }
.compare__item > p { color: var(--muted); font-size: 15px; margin-bottom: 12px; line-height: 1.6; }
.compare__item .ticks li { font-size: 14.5px; margin-bottom: 8px; }
.compare__item .ticks li:last-child { margin-bottom: 0; }
.compare__media { position: relative; min-height: 380px; border-radius: var(--radius); background: linear-gradient(135deg, #e9eef4 0%, #dbe3ec 100%); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.compare__media svg { width: 64px; height: 64px; color: var(--navy); opacity: .16; }
.compare__media:has(img) { min-height: 0; aspect-ratio: 605 / 674; align-self: center; }
.compare__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .compare { grid-template-columns: 1fr; gap: 30px; }
  .compare__media { min-height: 240px; }
}

/* ---------- Process ---------- */
.step { text-align: left; padding: 8px 6px; position: relative; }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(244,124,32,.12); color: var(--orange); font-family: var(--font-head); font-weight: 800; font-size: 20px; margin-bottom: 16px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- Flip cards (How we work) ---------- */
.flip { perspective: 1200px; min-height: 340px; }
.flip__inner { position: relative; width: 100%; height: 100%; min-height: 340px; transition: transform .6s cubic-bezier(.2,.7,.3,1); transform-style: preserve-3d; }
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }
@media (hover: hover) {
  .flip:hover .flip__inner { transform: rotateY(180deg); }
}
.flip__face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; display: flex; flex-direction: column; padding: 30px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.flip__front { align-items: center; justify-content: center; text-align: center; }
.flip__icon { width: 78px; height: 78px; border-radius: 50%; background: rgba(244,124,32,.12); color: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; flex: none; }
.flip__icon svg { width: 40px; height: 40px; }
.flip__front h3 { font-size: 17.5px; line-height: 1.3; }
.flip__hint { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: 12px; font-weight: 600; color: var(--orange); text-transform: uppercase; letter-spacing: .5px; }
.flip__hint svg { width: 14px; height: 14px; }
.flip__back { transform: rotateY(180deg); justify-content: center; background: linear-gradient(180deg, var(--navy) 0%, var(--navy-700) 100%); border-color: transparent; }
.flip__step { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.flip__back p { font-size: 14px; line-height: 1.6; color: #c4d1e4; }
@media (max-width: 560px) {
  .flip, .flip__inner { min-height: 300px; }
}
.section-cta { text-align: center; margin-top: 46px; }


/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-family: var(--font-head); font-weight: 600; font-size: 16.5px; color: var(--navy); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chevron { width: 12px; height: 12px; border-right: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(45deg); transition: transform .2s ease; flex: none; margin-right: 4px; }
.faq__item[open] .faq__chevron { transform: rotate(-135deg); }
.faq__body { padding: 0 22px 20px; }
.faq__body p { color: var(--muted); font-size: 15px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.contact__lead { color: #c4d1e4; font-size: 16.5px; margin-top: 14px; margin-bottom: 28px; }
.contact__list { display: flex; flex-direction: column; gap: 22px; }
.contact__list li { display: flex; gap: 15px; align-items: flex-start; }
.contact__list svg { width: 24px; height: 24px; fill: none; color: var(--orange); flex: none; margin-top: 3px; }
.contact__list svg[fill]:not([fill="none"]), .contact__list li > svg:first-child { }
.contact__list span { display: block; font-size: 13px; color: #9fb0c9; text-transform: uppercase; letter-spacing: .4px; font-weight: 600; }
.contact__list a, .contact__list p { color: #fff; font-size: 16px; font-weight: 500; margin-top: 2px; }
.contact__list a:hover { color: var(--orange); }
.contact__list p { font-weight: 400; color: #fff; line-height: 1.5; }
/* fill the phone/star solid icons */
.contact__list li svg path[fill]:not([fill="none"]) { fill: var(--orange); }

/* ---------- Footer ---------- */
.footer { background: var(--charcoal); color: #b9c1cc; padding: 60px 0 0; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 46px; }
.footer__brand p { margin: 16px 0 18px; font-size: 14.5px; color: #98a2ad; max-width: 340px; }
.footer .logo__text { color: #fff; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .15s ease; }
.footer__social a:hover { background: var(--orange); }
.footer__social svg { width: 19px; height: 19px; fill: currentColor; }
.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul a { font-size: 14.5px; color: #98a2ad; }
.footer__col ul a:hover { color: var(--orange); }
.footer__contact li { font-size: 14.5px; margin-bottom: 10px; color: #98a2ad; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: #7e8896; }
.footer__legal { display: flex; gap: 18px; }
.footer__legal a { color: #98a2ad; }
.footer__legal a:hover { color: var(--orange); }

/* ---------- Sticky mobile call bar ---------- */
.mobile-callbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--orange); color: #fff; align-items: center; justify-content: center; gap: 10px; padding: 15px; font-family: var(--font-head); font-weight: 700; font-size: 16px; box-shadow: 0 -6px 20px rgba(0,0,0,.18); }
.mobile-callbar svg { width: 20px; height: 20px; fill: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__form { max-width: 460px; }
  .contact { grid-template-columns: 1fr; gap: 34px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav, .header__call { display: none; }
  .hamburger { display: flex; }
  .header__actions .btn--primary { display: none; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .grid--3.features { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .features .feature { flex-direction: column; gap: 12px; padding: 20px 16px; }
  .rebate__inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .topbar__item:nth-child(3), .topbar__sep:nth-child(2) { display: none; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .field-row { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .topbar { display: none; }
  .mobile-callbar { display: flex; }
  body { padding-bottom: 64px; }
  .hero { padding: 48px 0 60px; }
  .hero__title { font-size: 30px; line-height: 1.15; letter-spacing: -.4px; }
  .hero__sub { font-size: 16px; margin-top: 16px; }
  .hero__cta { margin-top: 24px; }
  .hero__badges { gap: 12px 18px; margin-top: 22px; }
  .section__title { font-size: 25px; }
  .section__lead { font-size: 15.5px; }
}

/* =========================================================
   SERVICE / REBATE SUBPAGES
   ========================================================= */
.nav__dropdown a[aria-current="page"] { background: rgba(244,124,32,.12); color: var(--orange); }

/* Rebate estimator */
.estimator { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; max-width: 760px; margin: 0 auto; }
.estimator__q { margin-bottom: 24px; }
.estimator__q > label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 15.5px; color: var(--navy); margin-bottom: 12px; }
.est-options { display: flex; flex-wrap: wrap; gap: 10px; }
.est-pill { font-family: var(--font-body); font-size: 14.5px; font-weight: 500; color: var(--charcoal); background: var(--gray); border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.est-pill:hover { border-color: var(--orange); }
.est-pill.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.est-age { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; border-radius: 12px; padding: 9px 16px; text-align: left; }
.est-age strong { font-weight: 600; font-size: 14.5px; line-height: 1.25; }
.est-age span { font-size: 11px; font-weight: 500; color: var(--muted); line-height: 1.2; }
.est-pill.est-age.is-active span { color: rgba(255,255,255,.72); }
.est-result { margin-top: 28px; padding: 26px; border-radius: var(--radius-sm); background: linear-gradient(100deg, var(--navy) 0%, var(--navy-700) 100%); text-align: center; }
.est-result span { display: block; font-size: 13px; color: #c4d1e4; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.est-result strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 44px; color: #fff; margin: 6px 0 4px; line-height: 1; }
.est-result em { font-style: normal; color: #9fb0c9; font-size: 13.5px; }
.est-result__note { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px; color: #c4d1e4; line-height: 1.5; }
.estimator__cta { margin-top: 22px; text-align: center; }
.estimator__note { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 16px; }

/* Rebate breakdown tables */
.rtable-wrap { max-width: 760px; margin: 0 auto; }
.rtable { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.rtable caption { text-align: left; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 17px; padding: 18px 20px 12px; caption-side: top; }
.rtable th, .rtable td { text-align: left; padding: 13px 20px; font-size: 14.5px; border-top: 1px solid var(--line); }
.rtable thead th { background: var(--gray); color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px; border-top: none; }
.rtable td:last-child, .rtable th:last-child { text-align: right; }
.rtable td:last-child { font-family: var(--font-head); font-weight: 800; color: var(--orange); white-space: nowrap; }

/* Qualify card */
.qualify-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 32px 34px; max-width: 760px; margin: 0 auto; }
.qualify-card .ticks li { font-size: 15.5px; margin-bottom: 18px; padding-left: 30px; line-height: 1.55; }
.qualify-card .ticks li:last-child { margin-bottom: 0; }
.qualify-card .ticks li::before { top: 5px; }
.qualify-card__cta { text-align: center; margin-top: 30px; }

/* Qualify — split layout (text left, image right) */
.qualify { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.qualify__content .section__eyebrow { display: inline-block; margin-bottom: 12px; }
.qualify__content .section__title { text-align: left; }
.qualify__list { margin-top: 26px; }
.qualify__list li { font-size: 15.5px; margin-bottom: 16px; padding-left: 30px; line-height: 1.55; }
.qualify__list li:last-child { margin-bottom: 0; }
.qualify__list li::before { top: 5px; }
.qualify__cta { margin-top: 30px; }
.qualify__media { position: relative; min-height: 380px; border-radius: var(--radius); background: linear-gradient(135deg, #e9eef4 0%, #dbe3ec 100%); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.qualify__media-icon { width: 64px; height: 64px; color: var(--navy); opacity: .16; }
.qualify__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .qualify { grid-template-columns: 1fr; gap: 30px; }
  .qualify__media { min-height: 240px; }
}

/* CTA band */
.cta-band { text-align: center; }
.cta-band .section__title { color: #fff; }
.cta-band p { color: #c4d1e4; margin: 16px auto 30px; max-width: 620px; font-size: 17px; }
.cta-band .hero__cta { justify-content: center; margin-top: 0; }

/* CTA banner with background image */
.cta-banner { position: relative; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%); overflow: hidden; }
.cta-banner--wall { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%); }
.cta-banner--garage { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%); }
.cta-banner--basement { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 100%); }

/* ---------- Brand band (full-width service-van photo) ---------- */
.brand-band { display: block; background: var(--navy-900); }
.brand-band img { display: block; width: 100%; height: auto; }
.brand-band__caption { margin: 0; background: var(--navy-900); color: #cfd8e6; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; letter-spacing: .2px; padding: 15px 24px; }
.brand-band__caption b { color: var(--orange); margin: 0 8px; font-weight: 700; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,26,51,.86) 0%, rgba(7,26,51,.62) 42%, rgba(7,26,51,.22) 100%); }
.cta-banner__inner { position: relative; z-index: 1; min-height: 440px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 64px; padding-bottom: 64px; }
.cta-banner__title { color: #fff; font-size: clamp(27px, 3.6vw, 40px); font-weight: 800; line-height: 1.15; max-width: 540px; margin-bottom: 28px; }
@media (max-width: 560px) {
  .cta-banner__inner { min-height: 340px; }
  .cta-banner__title { font-size: 26px; }
}

/* Legal disclaimer strip */
.legal { background: var(--gray); padding: 26px 0; }
.legal p { max-width: 920px; margin: 0 auto; font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.65; }

/* Intro paragraph under subpage section heads */
.section__lead--wide { max-width: 760px; }

/* Two-column grid utility */
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Problem cards reuse .feature with an orange-tinted icon */
.feature--problem .feature__icon { background: rgba(244,124,32,.12); color: var(--orange); }

/* List card (service groupings: heading + ticked list) */
.list-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 26px 28px 28px; }
.list-card h3 { font-size: 17px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.list-card .ticks li { font-size: 14.5px; margin-bottom: 11px; }
.list-card .ticks li:last-child { margin-bottom: 0; }
.list-card__lead { color: var(--muted); font-size: 15px; margin-bottom: 14px; }

/* Service rows — alternating text / image */
.svc-rows { display: flex; flex-direction: column; gap: 48px; }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.svc-row__text h3 { font-size: 22px; margin-bottom: 12px; }
.svc-row__lead { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; line-height: 1.6; }
.svc-row__text .ticks li { font-size: 15px; margin-bottom: 11px; }
.svc-row__text .ticks li:last-child { margin-bottom: 0; }
.svc-row__media { position: relative; min-height: 300px; border-radius: var(--radius); background: linear-gradient(135deg, #e9eef4 0%, #dbe3ec 100%); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.svc-row__media svg { width: 60px; height: 60px; color: var(--navy); opacity: .16; }
.svc-row__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-row--reverse .svc-row__text { order: 2; }
.svc-row--reverse .svc-row__media { order: 1; }
@media (max-width: 860px) {
  .svc-row, .svc-row--reverse { grid-template-columns: 1fr; gap: 22px; }
  .svc-row--reverse .svc-row__text, .svc-row--reverse .svc-row__media { order: 0; }
  .svc-row__media { min-height: 220px; }
}

@media (max-width: 560px) {
  .estimator, .qualify-card { padding: 24px 20px; }
  .est-result strong { font-size: 38px; }
  .rtable th, .rtable td { padding: 11px 14px; font-size: 13.5px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
