/* =============================================
   ELITE HVAC SOLUTIONS — styles.css
   Palette: Slate charcoal · Red accent · White
   Fonts: Montserrat (display) + Inter (body)
   ============================================= */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* ── Design Tokens ── */
:root {
  --slate:      #2c3e50;
  --slate-dk:   #1a252f;
  --slate-md:   #34495e;
  --slate-lt:   #4a6278;
  --accent:     #e74c3c;
  --accent-dk:  #c0392b;
  --accent-lt:  #ff6b5b;
  --accent-gl:  rgba(231,76,60,.12);
  --light:      #f5f7fa;
  --light-dk:   #eaecf0;
  --white:      #ffffff;
  --text:       #ffffff;
  --text-md:    rgba(255,255,255,0.85);
  --text-lt:    rgba(255,255,255,0.62);
  --text-xs:    rgba(255,255,255,0.38);
  --text-dk:    #1a252f;
  --text-dk-md: #2c3e50;
  --text-dk-lt: #566878;
  --text-dk-xs: #8fa3b1;
  --border:     rgba(255,255,255,0.1);
  --border-dk:  #dde3e8;

  --sh-sm:  0 1px 4px rgba(0,0,0,.14), 0 2px 8px rgba(0,0,0,.09);
  --sh-md:  0 4px 18px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.10);
  --sh-lg:  0 10px 36px rgba(0,0,0,.22), 0 4px 12px rgba(0,0,0,.12);
  --sh-xl:  0 22px 60px rgba(0,0,0,.28), 0 8px 20px rgba(0,0,0,.14);
  --sh-a:   0 6px 24px rgba(231,76,60,.35);
  --sh-a-lg:0 14px 40px rgba(231,76,60,.45);

  --ease:    cubic-bezier(.22,1,.36,1);
  --ease-io: cubic-bezier(.37,0,.63,1);

  --max: 1180px;
  --pad: clamp(1.25rem, 5vw, 2.5rem);
  --r: 6px;

  --fd: 'Montserrat', system-ui, -apple-system, sans-serif;
  --fb: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  scroll-padding-top: calc(70px + 41px + 12px);
}
body {
  font-family: var(--fb);
  color: var(--text-dk);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ── Scroll Reveal ── */
.sr {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.sr.up { opacity: 1; transform: none; }
.sr.d1 { transition-delay: .08s; }
.sr.d2 { transition-delay: .16s; }
.sr.d3 { transition-delay: .24s; }
.sr.d4 { transition-delay: .32s; }
.sr.d5 { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .sr { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.875rem;
  border-radius: var(--r);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .015em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .15s, color .15s, border-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; }
.btn:active { transform: scale(.967) !important; }

.btn-primary {
  background: var(--slate);
  color: #fff;
  box-shadow: var(--sh-md);
}
.btn-primary:hover {
  background: var(--slate-md);
  box-shadow: var(--sh-lg);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--sh-a);
}
.btn-accent:hover {
  background: var(--accent-dk);
  box-shadow: var(--sh-a-lg);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.btn-outline-lt {
  background: transparent;
  color: var(--slate);
  border: 2px solid var(--slate);
}
.btn-outline-lt:hover {
  background: var(--slate);
  color: #fff;
}
.btn-outline-mob {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.45);
}
.btn-outline-mob:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}
.btn-lg { padding: 1.05rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: .55rem 1.1rem; font-size: .8125rem; }

/* ── Section shared ── */
section { padding: clamp(4rem, 9vw, 6.5rem) 0; }

.eyebrow {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.eyebrow.lt { color: var(--accent-lt); }

.section-title {
  font-family: var(--fd);
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 800;
  color: var(--text-dk);
  line-height: 1.18;
  letter-spacing: -.025em;
  margin-bottom: 1rem;
}
.section-title.lt { color: #fff; }

.section-sub {
  font-size: 1.0625rem;
  color: var(--text-dk-lt);
  line-height: 1.75;
  max-width: 560px;
}
.section-sub.cx { margin-inline: auto; text-align: center; }
.section-sub.lt { color: rgba(255,255,255,.68); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ── TOP BAR ── */
#topbar {
  background: var(--slate-dk);
  color: rgba(255,255,255,.75);
  font-size: .8125rem;
  font-weight: 500;
  padding: .6rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.topbar-item svg { color: var(--accent); flex-shrink: 0; }
.topbar-phone {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  color: #fff;
  font-size: .875rem;
  transition: color .15s;
}
.topbar-phone:hover { color: var(--accent-lt); }
.topbar-phone svg { color: var(--accent); }

/* ── HEADER ── */
#hdr {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dk);
  transition: box-shadow .3s, background .3s;
}
#hdr.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.1);
  background: rgba(255,255,255,.99);
}
.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1.5rem;
}
@media (min-width: 821px) {
  .hdr-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    justify-content: normal;
    gap: 0;
  }
  .hdr-inner > .logo        { grid-column: 1; justify-self: start; }
  .hdr-inner > .desktop-nav { grid-column: 2; }
  .hdr-inner > .hdr-right   { grid-column: 3; justify-self: end; }
}

.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--slate);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { color: #fff; }
.logo-text {
  font-family: var(--fd);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--slate);
  line-height: 1.2;
  letter-spacing: -.01em;
}
.logo-text span {
  display: block;
  font-family: var(--fb);
  font-size: .65rem;
  font-weight: 600;
  color: var(--text-dk-lt);
  letter-spacing: .05em;
  text-transform: uppercase;
}

nav.desktop-nav {
  display: flex;
  align-items: center;
  gap: .2rem;
}
nav.desktop-nav a {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-dk-md);
  padding: .5rem .7rem;
  border-radius: var(--r);
  transition: color .15s, background .15s;
}
nav.desktop-nav a:hover {
  color: var(--accent);
  background: var(--accent-gl);
}

.hdr-right {
  display: flex;
  align-items: center;
  gap: .875rem;
  flex-shrink: 0;
}
.hdr-phone {
  font-size: .875rem;
  font-weight: 700;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: .45rem;
  transition: color .15s;
}
.hdr-phone:hover { color: var(--accent); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: var(--r);
  transition: background .15s;
  cursor: pointer;
}
.hamburger:hover { background: var(--light-dk); }
.hamburger span {
  display: block;
  height: 2px;
  background: var(--slate);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .3s, width .3s;
}
.hamburger span:nth-child(2) { width: 75%; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; width: 100%; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
#mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 250;
  background: #fff;
  padding: 6rem var(--pad) 2rem;
  flex-direction: column;
  gap: .25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
#mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
#mobile-nav a {
  font-family: var(--fd);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--slate);
  padding: .625rem 0;
  border-bottom: 1px solid var(--light-dk);
  transition: color .15s, padding-left .22s var(--ease);
}
#mobile-nav a:hover { color: var(--accent); padding-left: .5rem; }
.mobile-nav-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0d1821 0%, var(--slate) 50%, var(--slate-md) 100%);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  transform-origin: center;
  animation: heroKen 14s ease-in-out infinite alternate;
}
@keyframes heroKen {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(13,24,33,.9) 0%, rgba(13,24,33,.55) 40%, rgba(13,24,33,.18) 70%, rgba(13,24,33,.05) 100%),
    radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 0 clamp(4rem, 9vw, 6rem);
}
.hero-inner { max-width: 760px; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  padding: .35rem 1rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}
.hero-kicker .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s ease infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: .3; }
}

#hero h1 {
  font-family: var(--fd);
  font-size: clamp(2.4rem, 6.5vw, 4.75rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.06;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}
#hero h1 em {
  font-style: italic;
  color: var(--accent-lt);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.175rem);
  color: rgba(255,255,255,.7);
  line-height: 1.72;
  max-width: 560px;
  margin-bottom: 2.25rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-bottom: 2.5rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
}
.badge-icon {
  width: 28px; height: 28px;
  background: rgba(231,76,60,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-lt);
  flex-shrink: 0;
}

/* ── STATS STRIP ── */
#stats {
  background: var(--slate);
  padding: clamp(2.25rem, 5vw, 3.25rem) 0;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  overflow: hidden;
}
.stat-cell {
  background: var(--slate);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: background .25s;
}
.stat-cell:hover { background: var(--slate-md); }
.stat-n {
  font-family: var(--fd);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: .35rem;
}
.stat-n .accent { color: var(--accent); }
.stat-l {
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
}

/* ── SERVICES ── */
#services { background: var(--light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 370px;
  cursor: pointer;
  background: var(--slate-dk);
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13,24,33,.92) 0%, rgba(13,24,33,.5) 45%, rgba(13,24,33,.1) 100%);
  transition: background .45s var(--ease);
  z-index: 1;
}
.service-card:hover::after {
  background: linear-gradient(0deg, rgba(13,24,33,.97) 0%, rgba(13,24,33,.7) 55%, rgba(13,24,33,.25) 100%);
}
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s var(--ease);
}
.service-card:hover img { transform: scale(1.07); }
.service-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 1.75rem 1.5rem;
}
.service-tag {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-lt);
  margin-bottom: .5rem;
  opacity: .85;
}
.service-card h3 {
  font-family: var(--fd);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.015em;
  margin-bottom: .5rem;
}
.service-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.62);
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s;
  opacity: 0;
}
.service-card:hover .service-desc {
  max-height: 120px;
  opacity: 1;
}
.service-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--accent-lt);
  margin-top: .875rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .35s, transform .35s var(--ease);
  text-decoration: none;
}
.service-card:hover .service-arrow {
  opacity: 1;
  transform: none;
}

/* ── GALLERY ── */
#gallery { background: var(--slate-dk); }
#gallery .eyebrow { color: var(--accent-lt); }
#gallery .section-title { color: #fff; }
#gallery .section-sub { color: rgba(255,255,255,.6); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: .75rem;
  border-radius: 14px;
  overflow: hidden;
}
.gallery-grid .featured { grid-column: span 2; grid-row: span 2; }
.gallery-grid .wide     { grid-column: span 2; }
.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--slate-md);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .3s;
  filter: brightness(.88) saturate(1.05);
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.1);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13,24,33,.78) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .35s;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-label {
  font-size: .8125rem;
  font-weight: 700;
  color: #fff;
  background: rgba(231,76,60,.75);
  border-radius: 100px;
  padding: .3rem .875rem;
  backdrop-filter: blur(4px);
}
.gallery-zoom {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 34px; height: 34px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .3s, transform .3s var(--ease);
}
.gallery-item:hover .gallery-zoom {
  opacity: 1;
  transform: scale(1);
}
.gallery-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ── LIGHTBOX ── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(0,0,0,.95);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.lb-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.lb-close:hover { background: rgba(255,255,255,.22); transform: scale(1.08); }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background .2s;
}
.lb-nav:hover { background: rgba(231,76,60,.55); }
.lb-prev { left: 1.25rem; }
.lb-next { right: 1.25rem; }
.lb-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  white-space: nowrap;
}

/* ── WHY CHOOSE US ── */
#why-us { background: var(--light); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.why-img {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--sh-xl);
}
.why-img img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  transition: transform .65s var(--ease);
}
.why-img:hover img { transform: scale(1.03); }
.why-img-badge {
  position: absolute;
  bottom: 1.5rem;
  right: -1rem;
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: var(--sh-lg);
  text-align: center;
  min-width: 130px;
  border-left: 3px solid var(--accent);
}
.why-img-badge .big {
  font-family: var(--fd);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.why-img-badge .sm {
  font-size: .75rem;
  color: var(--text-dk-lt);
  font-weight: 600;
  margin-top: .25rem;
}
.why-benefits { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 2rem; }
.why-benefit {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1.5px solid var(--border-dk);
  border-radius: 10px;
  transition: box-shadow .25s, border-color .25s;
}
.why-benefit:hover {
  box-shadow: var(--sh-md);
  border-color: var(--accent-gl);
}
.why-benefit-icon {
  width: 42px; height: 42px;
  background: var(--accent-gl);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: background .22s, color .22s;
}
.why-benefit:hover .why-benefit-icon {
  background: var(--accent);
  color: #fff;
}
.why-benefit h4 {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--text-dk);
  margin-bottom: .25rem;
}
.why-benefit p {
  font-size: .875rem;
  color: var(--text-dk-lt);
  line-height: 1.65;
}

/* ── TESTIMONIALS ── */
#testimonials { background: var(--slate); }
.testimonials-intro { max-width: 480px; }
.rating-display {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: .875rem;
}
.stars { color: #f39c12; font-size: 1.15rem; letter-spacing: 3px; }
.rating-text { font-size: .875rem; color: rgba(255,255,255,.5); }
.carousel-wrap { position: relative; }
.carousel-track-outer {
  overflow-x: clip;
  overflow-y: visible;
  width: 100%;
}
.carousel-track {
  display: flex;
  gap: 1.25rem;
  transition: transform .55s var(--ease);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.testimonial-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 1.875rem;
  display: flex;
  flex-direction: column;
  transition: background .25s, border-color .25s;
}
.testimonial-card:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(231,76,60,.25);
}
.t-quote {
  font-family: var(--fd);
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .5rem;
}
.t-stars { color: #f39c12; font-size: .85rem; letter-spacing: 3px; margin-bottom: 1rem; }
.t-text {
  font-size: .9375rem;
  color: rgba(255,255,255,.85);
  line-height: 1.78;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.t-author {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.t-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dk) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  flex-shrink: 0;
}
.t-name { font-size: .9375rem; font-weight: 700; color: #fff; }
.t-loc  { font-size: .8125rem; color: rgba(255,255,255,.42); margin-top: 2px; }
.carousel-controls {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 2.25rem;
}
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.carousel-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.carousel-dots { display: flex; gap: .5rem; }
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  cursor: pointer;
  transition: background .25s, transform .25s;
  border: none;
}
.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.25);
}

/* ── ABOUT ── */
#about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}
.about-img-stack { position: relative; }
.about-img-main {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--sh-xl);
}
.about-img-main img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .65s var(--ease);
}
.about-img-main:hover img { transform: scale(1.03); }
.about-img-accent {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  width: 180px;
  border-radius: 10px;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: var(--sh-lg);
}
.about-img-accent img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.about-values {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin-top: 2rem;
  margin-bottom: 2.25rem;
}
.about-value {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
}
.about-value-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .55rem;
}
.about-value p {
  font-size: .9375rem;
  color: var(--text-dk-md);
  line-height: 1.65;
}
.about-value p strong { color: var(--text-dk); }
.about-sig {
  font-family: var(--fd);
  font-size: 1.35rem;
  color: var(--slate);
  font-style: italic;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-dk);
}
.about-sig small {
  display: block;
  font-family: var(--fb);
  font-size: .8125rem;
  font-style: normal;
  color: var(--text-dk-lt);
  margin-top: .25rem;
}

/* ── QUOTE / CONTACT ── */
#quote { background: var(--light); }
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
#quote .section-title { color: var(--text-dk); }
.contact-items {
  display: flex;
  flex-direction: column;
  gap: .875rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1.5px solid var(--border-dk);
  border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.contact-item:hover { border-color: var(--accent-gl); box-shadow: var(--sh-sm); }
.contact-icon {
  width: 40px; height: 40px;
  background: var(--accent-gl);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--text-dk);
}
.contact-item span {
  font-size: .8125rem;
  color: var(--text-dk-lt);
}
.quote-form-card {
  background: #fff;
  border-radius: 16px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--sh-xl);
  border: 1.5px solid var(--border-dk);
}
.form-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent-gl);
  color: var(--accent-dk);
  border-radius: 100px;
  padding: .3rem .875rem;
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.quote-form-card h3 {
  font-family: var(--fd);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text-dk);
  margin-bottom: .25rem;
}
.quote-form-card > p {
  font-size: .875rem;
  color: var(--text-dk-lt);
  margin-bottom: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .875rem;
}
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-dk-md);
  margin-bottom: .375rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--border-dk);
  border-radius: var(--r);
  font-size: .9375rem;
  color: var(--text-dk);
  background: #fff;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none;
}
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover { border-color: var(--text-dk-xs); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3.5px rgba(231,76,60,.1);
  background: rgba(231,76,60,.02);
}
.form-group textarea { resize: vertical; min-height: 88px; }
.form-submit { width: 100%; margin-top: .25rem; }
.form-disc {
  text-align: center;
  font-size: .75rem;
  color: var(--text-dk-xs);
  margin-top: .875rem;
}

/* ── FOOTER ── */
footer {
  background: var(--slate-dk);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.25fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand .logo { margin-bottom: 1.25rem; }
.footer-brand .logo-icon { background: rgba(255,255,255,.1); }
.footer-brand .logo-text { color: rgba(255,255,255,.9); }
.footer-brand .logo-text span { color: rgba(255,255,255,.38); }
.footer-brand p {
  font-size: .875rem;
  color: rgba(255,255,255,.42);
  line-height: 1.7;
  max-width: 270px;
}
.footer-hours {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: 1.25rem;
}
.footer-hour {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.42);
}
.footer-hour strong { color: rgba(255,255,255,.7); font-weight: 600; }
.footer-socials { display: flex; gap: .625rem; margin-top: 1.5rem; }
.footer-soc {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.45);
  transition: background .2s, color .15s, border-color .2s;
}
.footer-soc:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer-col h5 {
  font-size: .8125rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .75rem; }
.footer-col ul a { font-size: .875rem; color: rgba(255,255,255,.4); transition: color .15s; }
.footer-col ul a:hover { color: rgba(255,255,255,.88); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .875rem;
}
.footer-copy { font-size: .8125rem; color: rgba(255,255,255,.28); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: .8125rem; color: rgba(255,255,255,.28); transition: color .15s; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* GRD Banner */
.grd-banner {
  margin-top: 1.5rem;
  text-align: center;
  font-size: .8125rem;
  color: rgba(255,255,255,.65);
  padding: .875rem;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r);
  background: rgba(255,255,255,.03);
}
.grd-banner a {
  color: var(--accent-lt);
  font-weight: 600;
  transition: color .15s;
}
.grd-banner a:hover { color: var(--accent); }

/* ── MOBILE STICKY BAR ── */
#mob-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(26,37,47,.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: .875rem 1.25rem;
  gap: .75rem;
  transform: translateY(100%);
  transition: transform .45s var(--ease);
}
#mob-bar.visible { transform: translateY(0); }
#mob-bar a { flex: 1; text-align: center; font-size: .9375rem; }

/* ── RESPONSIVE ── */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .gallery-grid  { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid .featured { grid-column: span 1; grid-row: span 1; }
  .gallery-grid .wide     { grid-column: span 1; }
}
@media (max-width: 820px) {
  .why-grid   { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .stats-row  { grid-template-columns: repeat(2, 1fr); }
  nav.desktop-nav { display: none; }
  .hdr-right .hdr-phone { display: none; }
  .hdr-right .btn { display: none; }
  .hamburger { display: flex; }
  #mob-bar { display: flex; }
  body { padding-bottom: 70px; }
  .about-img-accent { width: 120px; left: -1rem; bottom: -1.5rem; }
  .why-img-badge { right: 0; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .hero-ctas     { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  #topbar { justify-content: center; }
}

/* ── IMAGE FALLBACK BACKGROUNDS ── */
.hero-bg {
  background: linear-gradient(160deg, #0d1821 0%, #2c3e50 50%, #34495e 100%);
}
.service-card {
  background: linear-gradient(160deg, #1a252f 0%, #2c3e50 100%) !important;
}
.gallery-item {
  background: linear-gradient(160deg, #1a252f 0%, #2c3e50 100%);
}
.why-img {
  background: linear-gradient(160deg, #2c3e50 0%, #1a252f 100%);
  border-radius: 16px;
  overflow: hidden;
}
.about-img-main {
  background: linear-gradient(160deg, #2c3e50 0%, #1a252f 100%);
  border-radius: 14px;
  overflow: hidden;
}
.about-img-accent {
  background: linear-gradient(160deg, #34495e 0%, #2c3e50 100%);
}

/* Ensure containers never collapse */
.service-card { min-height: 240px; }
.gallery-item { min-height: 180px; }
.why-img img  { min-height: 200px; }
.about-img-main img { min-height: 200px; }
.about-img-accent img { min-height: 120px; }


/* ============================================================
   SUBPAGE COMPONENT STYLES
   Added to support about/services/projects/contact pages
   ============================================================ */

/* ── Missing tokens ── */
:root {
  --p:       var(--accent);
  --p-dk:    var(--accent-dk);
  --p-gl:    var(--accent-gl);
  --sh-p:    var(--sh-a, var(--sh-md));
  --red:     #dc2626;
  --ink-50:  #f9fafb;
  --ink-100: #f3f4f6;
  --ink-200: #e5e7eb;
  --ink-300: #d1d5db;
  --ink-400: #9ca3af;
  --ink-500: #6b7280;
  --ink-600: #4b5563;
  --ink-700: #374151;
  --ink-800: #1f2937;
  --ink-900: #111827;
}

/* ── Container alias (= .wrap) ── */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  overflow: visible;
  background: var(--p);
  color: #fff;
  padding: .75rem 1.5rem;
  z-index: 9999;
  font-weight: 700;
}

/* ── Mobile nav links (inside #mobile-nav) ── */
.mobile-link {
  display: block;
  font-family: var(--fd);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: color .2s;
}
.mobile-link:hover { color: var(--accent); }

/* ── Button aliases (BEM → kebab) ── */
.btn--accent  { background: var(--p); color: #fff; box-shadow: var(--sh-p); }
.btn--accent:hover { background: var(--p-dk); box-shadow: var(--sh-lg); transform: translateY(-1px); }
.btn--primary { background: var(--p); color: #fff; box-shadow: var(--sh-p); }
.btn--primary:hover { background: var(--p-dk); transform: translateY(-1px); }
.btn--ghost  { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--white  { background: #fff; color: var(--p); }
.btn--white:hover { background: #f1f5f9; }
.btn--lg     { padding: 1.05rem 2.25rem; font-size: 1rem; }
.btn--sm     { padding: .55rem 1.1rem; font-size: .8125rem; }

/* ── Page hero (subpage banner) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dk, #0d1a2a) 0%, var(--navy, #1a3a5c) 100%);
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem);
  color: #fff;
}
.page-hero__inner { }
.page-hero__badge {
  display: inline-block;
  background: var(--p-gl, rgba(255,255,255,.12));
  color: var(--accent);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-family: var(--fd);
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #fff;
}
.page-hero h1 span { color: var(--accent); }
.page-hero__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.78);
  max-width: 620px;
  line-height: 1.7;
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.25rem;
}
.breadcrumb a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .2s;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb__sep { opacity: .4; }
.breadcrumb span[aria-current] { color: rgba(255,255,255,.9); }

/* ── Generic section wrappers ── */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.section--light {
  background: var(--light, #f4f8fc);
}
.section--dark {
  background: var(--navy-dk, #0d1a2a);
  color: #fff;
}
.section--dark .section-heading,
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.78); }

/* ── Section header (centered title area) ── */
.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.section-heading {
  font-family: var(--fd);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: .75rem;
}
.section-heading span { color: var(--p); }
.section-heading--lt { color: #fff; }
.section-sub--center {
  text-align: center;
  max-width: 580px;
  margin-inline: auto;
  color: var(--text-lt);
  font-size: 1.0625rem;
  line-height: 1.7;
}
.section-sub--lt { color: rgba(255,255,255,.75); }
.eyebrow--lt { color: rgba(255,255,255,.55); }

/* ── Service cards (svc-card) ── */
.svc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  overflow: hidden;
}
.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
}
.svc-card__body {
  padding: 1.75rem;
}
.svc-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--p-gl);
  border-radius: var(--r);
  color: var(--p);
  margin-bottom: 1rem;
}
.svc-card__badge {
  display: inline-block;
  background: var(--p-gl);
  color: var(--p);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 4px;
  margin-bottom: .75rem;
}
.svc-card h3 {
  font-family: var(--fd);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text);
}
.svc-card p {
  font-size: .9375rem;
  color: var(--text-lt);
  line-height: 1.65;
  margin-bottom: 1rem;
}
.svc-card__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--p);
  text-decoration: none;
  transition: gap .2s;
}
.svc-card__link:hover { gap: .6rem; }

/* ── Service detail (alternating 2-col) ── */
.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}
.svc-detail__img {
  border-radius: calc(var(--r) * 2);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--ink-200);
}
.svc-detail__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.svc-detail h2 {
  font-family: var(--fd);
  font-size: clamp(1.4rem, 3vw, 1.875rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: .75rem;
}
.svc-detail p {
  font-size: 1rem;
  color: var(--text-md);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.svc-detail__badge {
  display: inline-block;
  background: var(--p-gl);
  color: var(--p);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .65rem;
  border-radius: 4px;
  margin-bottom: .85rem;
}
@media (max-width: 768px) {
  .svc-detail {
    grid-template-columns: 1fr;
  }
  .svc-detail[style*="direction:rtl"] {
    direction: ltr !important;
  }
}

/* ── Service list ── */
.svc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.svc-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9375rem;
  color: var(--text-md);
  padding: .45rem 0;
  border-bottom: 1px solid var(--border-lt, #eef3f9);
  line-height: 1.5;
}
.svc-list li::before {
  content: "✓";
  color: var(--p);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05em;
}

/* ── FAQ accordion ── */
.faq-list {
  max-width: 780px;
  margin-inline: auto;
}
.faq-item {
  border-bottom: 1px solid var(--border, #dde8f2);
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-family: var(--fd);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: color .2s;
}
.faq-trigger:hover { color: var(--p); }
.faq-trigger[aria-expanded="true"] { color: var(--p); }
.faq-chevron {
  font-size: .7rem;
  transition: transform .25s var(--ease);
  flex-shrink: 0;
  color: var(--text-lt);
}
.faq-trigger[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--p);
}
.faq-body-wrap {
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s var(--ease);
}
.faq-body-wrap[aria-expanded="true"],
.faq-body-wrap:not([hidden]) {
  max-height: 500px;
}
.faq-body-inner {
  padding-bottom: 1.25rem;
}
.faq-body {
  font-size: .9375rem;
  color: var(--text-lt);
  line-height: 1.75;
}

/* ── Final CTA section ── */
.final-cta {
  background: linear-gradient(135deg, var(--navy-dk, #0d1a2a) 0%, var(--navy, #1a3a5c) 100%);
  padding: clamp(4rem, 9vw, 6.5rem) 0;
  text-align: center;
  color: #fff;
}
.final-cta__inner {
  max-width: 600px;
  margin-inline: auto;
}
.final-cta h2 {
  font-family: var(--fd);
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.final-cta h2 span { color: var(--accent); }
.final-cta p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.final-cta__phone {
  display: block;
  font-family: var(--fd);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 1.75rem;
}
.final-cta__btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

/* ── Cert pill ── */
.cert-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: .5rem 1rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.82);
}

/* ── Values grid ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}
.val-card {
  background: #fff;
  border: 1px solid var(--border, #dde8f2);
  border-radius: var(--r);
  padding: 1.75rem;
  box-shadow: var(--sh-sm);
  transition: transform .25s, box-shadow .25s;
}
.val-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
}
.val-card__ico {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--p-gl);
  border-radius: var(--r);
  color: var(--p);
  margin-bottom: 1rem;
}
.val-card h3 {
  font-family: var(--fd);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
}
.val-card p {
  font-size: .9375rem;
  color: var(--text-lt);
  line-height: 1.65;
}

/* ── Credentials badge (on image) ── */
.cred-badge {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-radius: var(--r);
  padding: .85rem 1.1rem;
  box-shadow: var(--sh-md);
  color: var(--text);
}
.cred-badge svg { color: var(--p); flex-shrink: 0; }
.cred-badge strong {
  display: block;
  font-size: .875rem;
  font-weight: 700;
  color: var(--text);
}
.cred-badge span {
  font-size: .75rem;
  color: var(--text-lt);
}

/* ── Why image extras ── */
.why-img {
  position: relative;
}
.why-img__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.35) 100%);
  border-radius: inherit;
  pointer-events: none;
}
.why-img__foot {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
}

/* ── Emergency panel ── */
.emrg-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: #fff8f0;
  border: 1px solid #fcd3a5;
  border-left: 4px solid var(--p);
  border-radius: var(--r);
  padding: 1.1rem 1.4rem;
  margin-bottom: 2.5rem;
}
.emrg-panel strong {
  display: block;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .2rem;
}
.emrg-panel span {
  font-size: .875rem;
  color: var(--text-lt);
}

/* ── Contact layout ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ── Form card ── */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: calc(var(--r) * 2);
  padding: 2rem;
  box-shadow: var(--sh-md);
}
.form-label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-md);
  margin-bottom: .4rem;
}
.form-input {
  display: block;
  width: 100%;
  padding: .7rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: .9375rem;
  font-family: var(--fb);
  color: var(--text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus {
  border-color: var(--p);
  box-shadow: 0 0 0 3px var(--p-gl);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; padding-right: 2.5rem; }
.form-note {
  font-size: .8125rem;
  color: var(--text-lt);
  margin-top: 1rem;
  line-height: 1.6;
}

/* ── Contact info items ── */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-lt, #eef3f9);
}
.contact-info-item__ico {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--p-gl);
  border-radius: var(--r);
  color: var(--p);
  flex-shrink: 0;
}
.contact-info-item__lbl {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-xs);
  margin-bottom: .2rem;
}
.contact-info-item__val {
  font-size: .9375rem;
  color: var(--text);
  font-weight: 500;
}

/* Electrical-style contact cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  box-shadow: var(--sh-sm);
  text-align: center;
}
.contact-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--p-gl);
  border-radius: 50%;
  color: var(--p);
  margin: 0 auto 1rem;
}
.contact-card__label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-xs);
  margin-bottom: .35rem;
}
.contact-card__val {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.contact-form { }
.contact-form-col { }
.contact-info-col { }

/* ── Gallery item overlay and tag ── */
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity .25s;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__tag {
  display: inline-block;
  background: rgba(255,255,255,.95);
  color: var(--text);
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .7rem;
  border-radius: 4px;
}

/* Gallery grid size modifiers */
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
@media (max-width: 600px) {
  .g-wide { grid-column: span 1; }
  .g-tall { grid-row: span 1; }
}

/* ── Project blocks ── */
.proj-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-bottom: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--border-lt, #eef3f9);
}
.proj-block:last-child { border-bottom: none; margin-bottom: 0; }
.proj-img {
  border-radius: calc(var(--r) * 2);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  background: var(--ink-200);
}
.proj-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.proj-img__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--p);
  color: #fff;
  border-radius: var(--r);
  padding: .5rem .85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: .7rem;
  line-height: 1.3;
}
.proj-img__badge strong { font-size: 1rem; font-weight: 800; }
.proj-copy {}
.proj-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-lt);
  margin-bottom: .75rem;
}
.proj-copy h3 {
  font-family: var(--fd);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .75rem;
}
.proj-copy p {
  font-size: .9375rem;
  color: var(--text-md);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.proj-checks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.proj-check {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9375rem;
  color: var(--text-md);
}
.proj-check__ico {
  color: var(--p);
  flex-shrink: 0;
  margin-top: .1em;
}
@media (max-width: 768px) {
  .proj-block { grid-template-columns: 1fr; }
}

/* ── Review cards ── */
.rev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.rev-agg {
  text-align: center;
  margin-bottom: 2.5rem;
}
.rev-agg__stars { font-size: 1.75rem; color: #fbbf24; letter-spacing: .1em; }
.rev-agg__num {
  font-family: var(--fd);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text);
}
.rev-agg__count { font-size: .9375rem; color: var(--text-lt); }
.rev-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: calc(var(--r) * 2);
  padding: 1.5rem;
  box-shadow: var(--sh-sm);
}
.rev-card__stars { color: #fbbf24; font-size: 1rem; letter-spacing: .06em; margin-bottom: .75rem; }
.rev-card__text { font-size: .9375rem; color: var(--text-md); line-height: 1.7; margin-bottom: 1rem; font-style: italic; }
.rev-card__author { display: flex; align-items: center; gap: .75rem; }
.rev-card__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--p-gl);
  color: var(--p);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .875rem;
  flex-shrink: 0;
}
.rev-card__name { font-size: .875rem; font-weight: 700; color: var(--text); }
.rev-card__loc { font-size: .75rem; color: var(--text-lt); }

/* ── Guarantee block ── */
.guar-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: var(--p-gl);
  border-radius: calc(var(--r) * 2);
  padding: clamp(2rem, 5vw, 3rem);
}
.guar-block__main {}
.guar-block__side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.guar-pt {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}
.guar-pt__ico {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--p);
  border-radius: var(--r);
  color: #fff;
  flex-shrink: 0;
}
.guar-block__side-num {
  font-family: var(--fd);
  font-size: 2rem;
  font-weight: 900;
  color: var(--p);
  line-height: 1;
}
.guar-block__side-lbl { font-size: .875rem; color: var(--text-lt); }
.guar-block__side-ico {
  font-size: 3rem;
  color: var(--p);
  opacity: .3;
}
@media (max-width: 768px) {
  .guar-block { grid-template-columns: 1fr; }
}

/* ── Area chips ── */
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.area-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--border-lt, #eef3f9);
  color: var(--text-md);
  font-size: .8125rem;
  font-weight: 600;
  padding: .4rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--border, #dde8f2);
}
.area-chip--prime {
  background: var(--p-gl);
  color: var(--p);
  border-color: var(--p);
}

/* ── FAQ body open state via JS toggle ── */
.faq-body-wrap.is-open {
  max-height: 800px;
}

/* ── Responsive tweaks ── */
@media (max-width: 640px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-card { padding: 1.25rem; }
  .emrg-panel { flex-direction: column; align-items: flex-start; }
  .final-cta__btns { flex-direction: column; align-items: center; }
}

/* ── Additional subpage components ── */

/* proj-cards (card grid variant, simpler than proj-block) */
.proj-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.proj-card {
  background: #fff;
  border: 1px solid var(--border, #dde8f2);
  border-radius: calc(var(--r) * 2);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.proj-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.proj-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--ink-200);
}
.proj-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proj-card__body { padding: 1.5rem; }
.proj-card__tag {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--p);
  margin-bottom: .5rem;
}
.proj-card h3 {
  font-family: var(--fd);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
}
.proj-card p { font-size: .9375rem; color: var(--text-md); line-height: 1.65; margin-bottom: 1rem; }
.proj-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.proj-card__stats span {
  background: var(--p-gl);
  color: var(--p);
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .6rem;
  border-radius: 4px;
}

/* proj-block reverse variant */
.proj-block.rev { direction: rtl; }
.proj-block.rev > * { direction: ltr; }

/* Stats grid/bar */
.stats-bar {
  background: var(--p);
  padding: clamp(2rem, 5vw, 3rem) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.stat-box { }
.stat-num {
  font-family: var(--fd);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: .35rem;
}
.stats-bar .stat-label { color: rgba(255,255,255,.8); font-size: .875rem; }

/* Stats on light background */
.section .stats-grid .stat-num,
.section--light .stats-grid .stat-num { color: var(--p); }
.section .stats-grid .stat-label,
.section--light .stats-grid .stat-label { color: var(--text-lt); }

/* Review snippet inline */
.rev-snippet { }

/* .rev class on sections (reverse) is handled by html direction already */
/* .rev on proj-block is handled above */

/* btn-outline-dk if not present */
.btn-outline-dk {
  background: transparent;
  color: var(--text, #1a3a5c);
  border: 2px solid currentColor;
}
.btn-outline-dk:hover {
  background: rgba(0,0,0,.05);
}
