/* =============================================
   EVERGREEN OUTDOOR LIVING — styles.css
   Palette: Warm off-white · Forest green · Stone
   Fonts: Playfair Display (display) + Inter (body)
   ============================================= */

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

/* ── Tokens ── */
:root {
  --forest:     #1a1a2e;
  --forest-dk:  #0d0d20;
  --forest-md:  #16213e;
  --sage:       #b8860b;
  --sage-lt:    #f39c12;
  --sage-gl:    rgba(243,156,18,.12);
  --stone:      #c8a84b;
  --stone-lt:   #e8d9a0;
  --stone-gl:   rgba(200,168,75,.2);
  --bark:       #5C4832;
  --warm:       #f8f8f4;
  --warm-dk:    #f0f0e8;
  --cream:      #fafafa;
  --text:       #1A1A16;
  --text-md:    #3D3D35;
  --text-lt:    #6B6A62;
  --text-xs:    #9A9A90;
  --border:     #E5DDD0;
  --border-lt:  #F0EAE0;

  --sh-sm:  0 1px 4px rgba(0,0,0,.07), 0 2px 8px rgba(0,0,0,.05);
  --sh-md:  0 4px 18px rgba(0,0,0,.09), 0 2px 6px rgba(0,0,0,.05);
  --sh-lg:  0 10px 36px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.07);
  --sh-xl:  0 22px 60px rgba(0,0,0,.15), 0 8px 20px rgba(0,0,0,.08);
  --sh-s:   0 6px 24px rgba(243,156,18,.28);
  --sh-s-lg:0 14px 40px rgba(243,156,18,.34);

  --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: 'Playfair Display', Georgia, 'Times New Roman', 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;
  /* Compensate for sticky header (70px) + topbar (~41px) so anchor links land correctly */
  scroll-padding-top: calc(70px + 41px + 12px);
}
body {
  font-family: var(--fb);
  color: var(--text);
  background: var(--cream);
  -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; }
.sr.slide-r {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.sr.slide-r.up { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .sr, .sr.slide-r { 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: .01em;
  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(--sage); outline-offset: 3px; }
.btn:active { transform: scale(.967) !important; }

.btn-primary {
  background: var(--sage);
  color: #fff;
  box-shadow: var(--sh-s);
}
.btn-primary:hover {
  background: var(--forest-md);
  box-shadow: var(--sh-s-lg);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.btn-outline-dk {
  background: transparent;
  color: var(--sage);
  border: 2px solid var(--sage);
}
.btn-outline-dk:hover {
  background: var(--sage-gl);
  box-shadow: var(--sh-sm);
}
.btn-stone {
  background: var(--stone);
  color: #fff;
  box-shadow: 0 6px 22px rgba(200,168,75,.35);
}
.btn-stone:hover {
  background: var(--bark);
  box-shadow: 0 10px 30px rgba(200,168,75,.45);
}
.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(--sage);
  margin-bottom: .75rem;
}
.eyebrow.lt { color: var(--stone); }
.eyebrow.lt2 { color: var(--stone-lt); }

.section-title {
  font-family: var(--fd);
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.18;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.section-title.lt { color: #fff; }
.section-title.center { text-align: center; }

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

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

/* ── TOP BAR ── */
#topbar {
  background: var(--forest);
  color: rgba(255,255,255,.82);
  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(--stone); 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(--stone-lt); }
.topbar-phone svg { color: var(--stone); }

/* ── HEADER ── */
#hdr {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(255, 252, 248, .97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s, background .3s;
}
#hdr.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.1);
  background: rgba(255,252,248,.99);
}
.hdr-inner {
  display: flex; /* mobile default: flex with space-between */
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1.5rem;
}
@media (min-width: 821px) {
  /* CSS Grid: 1fr auto 1fr — logo left, nav perfectly centered, CTA right.
     Works regardless of logo/CTA width asymmetry. */
  .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-leaf {
  width: 38px;
  height: 38px;
  background: var(--forest);
  border-radius: 50% 50% 50% 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-leaf svg { color: #fff; }
.logo-text {
  font-family: var(--fd);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1.2;
  letter-spacing: -.01em;
}
.logo-text span {
  display: block;
  font-family: var(--fb);
  font-size: .6875rem;
  font-weight: 500;
  color: var(--text-lt);
  letter-spacing: .04em;
  text-transform: uppercase;
}

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

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

/* 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(--warm-dk); }
.hamburger span {
  display: block;
  height: 2px;
  background: var(--forest);
  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: var(--cream);
  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.75rem;
  font-weight: 700;
  color: var(--forest);
  padding: .625rem 0;
  border-bottom: 1px solid var(--border-lt);
  transition: color .15s, padding-left .22s var(--ease);
}
#mobile-nav a:hover { color: var(--sage); 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;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transform-origin: center;
  animation: heroKen 14s ease-in-out infinite alternate;
}
@keyframes heroKen {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
/* Multi-layer overlay: bottom dark + subtle vignette */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg,  rgba(10,20,8,.85) 0%, rgba(10,20,8,.5) 35%, rgba(10,20,8,.15) 65%, rgba(10,20,8,.05) 100%),
    radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 0 clamp(4rem, 9vw, 6rem);
}
.hero-inner {
  max-width: 740px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 100px;
  padding: .35rem 1rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}
.hero-kicker .dot {
  width: 6px; height: 6px;
  background: var(--stone);
  border-radius: 50%;
  animation: blink 2s ease infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: .35; }
}
#hero h1 {
  font-family: var(--fd);
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.06;
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}
#hero h1 em {
  font-style: italic;
  color: var(--stone-lt);
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.72);
  line-height: 1.72;
  max-width: 520px;
  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,.78);
}
.badge-icon {
  width: 28px; height: 28px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone-lt);
  flex-shrink: 0;
}

/* ── STATS STRIP ── */
#stats {
  background: var(--forest);
  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,.08);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  overflow: hidden;
}
.stat-cell {
  background: var(--forest);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: background .25s;
}
.stat-cell:hover { background: var(--forest-md); }
.stat-n {
  font-family: var(--fd);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: .35rem;
}
.stat-n .accent { color: var(--stone); }
.stat-l {
  font-size: .8125rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}

/* ── SERVICES ── */
#services { background: var(--warm); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
/* Photo-card style */
.service-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 360px;
  cursor: pointer;
  background: var(--forest-dk);
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,20,8,.88) 0%, rgba(10,20,8,.45) 45%, rgba(10,20,8,.1) 100%);
  transition: background .45s var(--ease);
  z-index: 1;
}
.service-card:hover::after {
  background: linear-gradient(0deg, rgba(10,20,8,.95) 0%, rgba(10,20,8,.65) 50%, rgba(10,20,8,.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(--stone-lt);
  margin-bottom: .5rem;
  opacity: .8;
}
.service-card h3 {
  font-family: var(--fd);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em;
  margin-bottom: .5rem;
}
.service-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  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: 100px;
  opacity: 1;
}
.service-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--stone-lt);
  margin-top: .875rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .35s, transform .35s var(--ease);
}
.service-card:hover .service-arrow {
  opacity: 1;
  transform: none;
}

/* ── PROJECTS GALLERY ── */
#projects { background: var(--cream); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: .75rem;
  border-radius: 14px;
  overflow: hidden;
}
/* Featured / big items */
.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(--warm-dk);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .3s;
  filter: brightness(.9) 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(10,20,8,.72) 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(27,58,15,.7);
  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,.15);
  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,.94);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#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,.5);
}
.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;
  font-size: 1.5rem;
  line-height: 1;
  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, transform .2s;
}
.lb-nav:hover { background: rgba(255,255,255,.22); }
.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,.65);
  font-weight: 500;
  white-space: nowrap;
}

/* ── WHY US ── */
#why-us {
  background: var(--warm);
}
.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;
}
.why-img-badge .big {
  font-family: var(--fd);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
}
.why-img-badge .sm {
  font-size: .75rem;
  color: var(--text-lt);
  font-weight: 500;
  margin-top: .25rem;
}
.why-benefits { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.why-benefit {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: box-shadow .25s, border-color .25s, transform .25s var(--ease);
}
.why-benefit:hover {
  box-shadow: var(--sh-md);
  border-color: var(--sage-gl);
  /* No transform — shadow-only hover prevents layout shifts */
}
.why-benefit-icon {
  width: 42px; height: 42px;
  background: var(--sage-gl);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  flex-shrink: 0;
  transition: background .22s, color .22s;
}
.why-benefit:hover .why-benefit-icon {
  background: var(--sage);
  color: #fff;
}
.why-benefit h4 {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .25rem;
}
.why-benefit p {
  font-size: .875rem;
  color: var(--text-lt);
  line-height: 1.65;
}

/* ── TESTIMONIALS ── */
#testimonials { background: var(--forest); }
.testimonials-intro { max-width: 480px; }
.rating-display {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: .875rem;
  margin-bottom: 0; /* was 3rem — removed dead space between rating and cards */
}
.stars { color: var(--stone); font-size: 1.15rem; letter-spacing: 3px; }
.rating-text { font-size: .875rem; color: rgba(255,255,255,.55); }
/* Carousel */
.carousel-wrap { position: relative; }
.carousel-track-outer {
  /* overflow-x:clip + overflow-y:visible: clips horizontal overflow without
     creating a scroll box, while allowing card box-shadows to show vertically.
     The clip keyword is excluded from the coercion rule that forces visible→auto. */
  overflow-x: clip;
  overflow-y: visible;
  width: 100%; /* definite width so flex-basis % resolves correctly on cards */
}
.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(255,255,255,.16);
}
.t-quote {
  font-family: var(--fd);
  font-size: 2.5rem;
  color: var(--stone);
  line-height: 1;
  margin-bottom: .5rem;
}
.t-stars { color: var(--stone); 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(--sage) 0%, var(--forest) 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,.45); margin-top: 2px; }
/* Carousel controls */
.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(--sage);
  color: #fff;
  border-color: var(--sage);
}
.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;
}
.carousel-dot.active {
  background: var(--stone);
  transform: scale(1.25);
}

/* ── ABOUT ── */
#about {
  background: var(--cream);
}
.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(--sage);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .55rem;
}
.about-value p {
  font-size: .9375rem;
  color: var(--text-md);
  line-height: 1.65;
}
.about-value p strong { color: var(--text); }
.about-sig {
  font-family: var(--fd);
  font-size: 1.5rem;
  color: var(--forest);
  font-style: italic;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.about-sig small {
  display: block;
  font-family: var(--fb);
  font-size: .8125rem;
  font-style: normal;
  color: var(--text-lt);
  margin-top: .25rem;
}

/* ── QUOTE/CONTACT ── */
#quote { background: var(--warm); }
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.quote-left h2 {
  font-family: var(--fd);
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 1rem;
}
.quote-left p {
  font-size: 1rem;
  color: var(--text-lt);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 420px;
}
.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: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.contact-item:hover { border-color: var(--sage-gl); box-shadow: var(--sh-sm); }
.contact-icon {
  width: 40px; height: 40px;
  background: var(--sage-gl);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--text);
}
.contact-item span {
  font-size: .8125rem;
  color: var(--text-lt);
}
/* Form */
.quote-form-card {
  background: #fff;
  border-radius: 16px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: var(--sh-xl);
  border: 1px solid var(--border);
}
.form-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(243,156,18,.1);
  color: var(--sage);
  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.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: .25rem;
}
.quote-form-card > p {
  font-size: .875rem;
  color: var(--text-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-md);
  margin-bottom: .375rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: .9375rem;
  color: var(--text);
  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(--stone-lt); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3.5px rgba(243,156,18,.1);
  background: rgba(243,156,18,.03);
}
.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-xs);
  margin-top: .875rem;
}

/* ── FOOTER ── */
footer {
  background: var(--forest-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-leaf { 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,.4); }
.footer-brand p {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
  max-width: 260px;
}
.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,.45);
}
.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,.5);
  transition: background .2s, color .15s, border-color .2s;
}
.footer-soc:hover { background: var(--sage); color: #fff; border-color: var(--sage); }
.footer-col h5 {
  font-size: .8125rem;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  letter-spacing: .06em;
  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,.42); 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,.3); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: .8125rem; color: rgba(255,255,255,.3); transition: color .15s; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

.grd-banner {
  margin-top: 1rem;
  text-align: center;
  font-size: .8125rem;
  color: rgba(255,255,255,.65);
  padding: .875rem 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.grd-banner a {
  color: var(--stone-lt);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .15s;
}
.grd-banner a:hover { color: var(--stone); }

/* ── MOBILE STICKY BAR ── */
#mob-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(27,58,15,.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.08);
  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 RESILIENCE — fallback backgrounds
   Show a branded green gradient if any image fails
───────────────────────────────────────────── */
.hero-bg {
  background: linear-gradient(160deg, #0a1408 0%, #1a1a2e 50%, #2d5a1b 100%);
}
.service-card {
  background: linear-gradient(160deg, #111f0c 0%, #1a1a2e 100%) !important;
}
.gallery-item {
  background: linear-gradient(160deg, #111f0c 0%, #1a3010 100%);
}
.why-img {
  background: linear-gradient(160deg, #1a1a2e 0%, #2d5a1b 100%);
  border-radius: 12px;
  overflow: hidden;
}
.about-img-main {
  background: linear-gradient(160deg, #1a1a2e 0%, #2d5a1b 100%);
  border-radius: 12px;
  overflow: hidden;
}
.about-img-accent {
  background: linear-gradient(160deg, #2d5a1b 0%, #1a1a2e 100%);
}

/* Ensure image containers never collapse to zero height */
.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(--sage);
  --p-dk:    var(--forest-md);
  --p-gl:    var(--sage-gl);
  --sh-p:    var(--sh-s, 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(--sage); }

/* ── 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(--sage);
  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(--sage); }
.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(--sage); }
.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(--sage);
  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);
}
