/* ── Variables & Base ─────────────────────── */
:root {
  --green-900: #0f2d1a; --green-700: #085041; --green-500: #085041;
  --green-400: #5cd97a; --green-200: #b7f5c7; --green-50: #f0fff4;
  --text: #374151; --muted: #6B7280; --white: #FFFFFF; --bg-alt: #F8FAFC;
  --border: #E5E7EB; --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08); --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}
body { color: var(--text); }
.svc-section, .svc-section * { font-family: 'Open Sans', sans-serif; }
.svc-section          { padding: 72px 0; }
.svc-section--light   { background: var(--white); }
/* .svc-section--dark-alt{ background: var(--bg-alt); } */

/* ── Shared Typography ── */
.svc-header { text-align: center; margin-bottom: 40px; }
.svc-badge {
  display: inline-block; background: var(--green-50); color: #085041;
  font-family: 'Jost', sans-serif; font-weight: 600; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; padding: 5px 16px;
  border-radius: 100px; border: 1px solid var(--green-200); margin-bottom: 14px;
}
.svc-title {
  font-family: 'Jost', sans-serif; font-size: 2.2rem; font-weight: 700;
  color: var(--green-900); margin-bottom: 16px; line-height: 1.25;
}
.svc-lead {
  font-size: 1.05rem; color: var(--muted); max-width: 700px;
  margin: 0 auto 32px; line-height: 1.75;
}
.sub-heading {
  font-family: 'Jost', sans-serif; font-size: 1.55rem; font-weight: 700;
  color: #28a745; margin-bottom: 28px; text-align: center;
}
.body-text { font-size: .97rem; line-height: 1.8; color: var(--text); margin-bottom: 18px; }

/* ── Stat Cards ── */
.bld-intro { padding-bottom: 24px !important; }
.bld-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.bld-stat-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 20px; text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}
.bld-stat-card:hover { transform: translateY(-4px); border-color: var(--green-400); }
.bld-stat-num {
  font-family: 'Jost', sans-serif; font-size: 1.7rem; font-weight: 800;
  color: var(--green-700); line-height: 1;
}
.bld-stat-lbl {
  font-size: .75rem; font-weight: 600; letter-spacing: .04em;
  color: var(--muted); margin-top: 6px; line-height: 1.4;
}

/* ── Image Frame ── */
.img-frame { border-radius: 0; overflow: hidden; position: relative; align-self: flex-end; margin-top: 38px; }
.img-frame::before { display: none; }
.img-frame img { width: 100%; height: auto; display: block; transition: transform .6s ease; }
.img-frame:hover img { transform: scale(1.03); }

/* ── Intro Label ── */
.svc-intro-label {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Jost', sans-serif; font-size: .76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: #28a745;
  margin-bottom: 16px;
}
.svc-accent-line {
  display: inline-block; width: 26px; height: 2px;
  background: var(--green-400); border-radius: 2px; flex-shrink: 0;
}

/* ── What is Green Building — numbered list ── */
.bld-item-list { display: flex; flex-direction: column; gap: 0; margin-top: 4px; }
.bld-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
  transition: padding-left var(--transition);
}
.bld-item:last-child { border-bottom: none; }
.bld-item:hover { padding-left: 6px; }
.bld-num {
  font-family: 'Jost', sans-serif; font-weight: 700; font-size: .78rem;
  min-width: 38px; height: 38px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: .04em; color: #fff; margin-top: 1px;
}
.bld-num--1 { background: #042a20; }
.bld-num--2 { background: #085041; }
.bld-num--3 { background: #0b6b53; }
.bld-num--4 { background: #0d806a; color: #fff; }
.bld-item-body { display: flex; flex-direction: column; gap: 3px; }
.bld-item-body strong { font-size: .93rem; font-weight: 700; display: block; }
.bld-item-body span   { font-size: .83rem; color: var(--muted); line-height: 1.6; }

/* Title colour follows the same dark-to-light gradient as the number badges */
.bld-item-list .bld-item:nth-child(1) .bld-item-body strong { color: #0e6b4f; }
.bld-item-list .bld-item:nth-child(2) .bld-item-body strong { color: #148a63; }
.bld-item-list .bld-item:nth-child(3) .bld-item-body strong { color: #1aa87e; }
.bld-item-list .bld-item:nth-child(4) .bld-item-body strong { color: #2ac693; }

/* ── Feature Blocks ── */
.feature-block {
  border-radius: var(--radius); padding: 28px 24px; min-height: 180px; height: 100%;
  display: flex; flex-direction: column; gap: 8px;
  transition: transform var(--transition);
}
.feature-block:hover { transform: translateY(-5px); }
.feature-block--green { background: var(--green-50); border: 1px solid var(--green-200); }
.feature-block--dark  { background: var(--green-900); }
.feature-block__icon  { display: none; }
.feature-block--green .feature-block__icon { background: var(--green-700); color: var(--white); }
.feature-block--dark  .feature-block__icon { background: rgba(255,255,255,.15); color: var(--green-400); }
.feature-block h4 { font-family: 'Jost', sans-serif; font-size: .88rem; font-weight: 700; margin: 0; }
.feature-block--green h4 { color: var(--green-900); }
.feature-block--dark  h4 { color: var(--white); }
.feature-block p { font-size: .78rem; line-height: 1.55; margin: 0; }
.feature-block--green p { color: var(--text); }
.feature-block--dark  p { color: rgba(255,255,255,.75); }

/* ── Detail Tabs ── */
.detail-tabs {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.detail-tab-nav { display: flex; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.dtab {
  flex: 1; padding: 14px 10px;
  font-family: 'Jost', sans-serif; font-weight: 600; font-size: .9rem;
  border: none; background: transparent; color: var(--muted);
  cursor: pointer; border-bottom: 3px solid transparent;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.dtab:hover { color: #085041; }
.dtab.active { color: #085041; background: var(--white); border-bottom-color: var(--green-500); }
.detail-tab-panels { padding: 32px; }
.dtab-panel { display: none; }
.dtab-panel.active { display: block; }

/* ── Checklist Grid with Numbers ── */
.checklist-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  counter-reset: check-counter;
}
.check-item {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: .95rem; line-height: 1.65; color: var(--text);
  padding: 6px 0; counter-increment: check-counter;
}
.check-item i { display: none; }
.check-item::before {
  content: counter(check-counter);
  min-width: 28px; height: 28px;
  background: var(--green-700); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700; flex-shrink: 0; margin-top: 2px;
}

/* ── Let's Talk CTA ── */
.bld-letstalk { padding: 32px 0 !important; background: #fff; border-top: 1px solid #e5ede8; }
.svc-cta-link {
  display: inline-flex; align-items: center; gap: 16px;
  text-decoration: none; cursor: pointer;
  border-bottom: 1.5px solid transparent;
  padding: 8px 0;
  transition: border-color .3s;
}
.svc-cta-link:hover { border-bottom-color: #28a745; }
.svc-cta-sub {
  font-family: 'Jost', sans-serif; font-size: .68rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: #28a745; display: block; margin-bottom: 4px;
}
.svc-cta-main {
  font-family: 'Jost', sans-serif; font-size: 1.15rem; font-weight: 700;
  color: #0f2d1a; display: block; letter-spacing: .01em;
}
.svc-cta-icon {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid #28a745; color: #28a745; font-size: 1.25rem; line-height: 1;
  flex-shrink: 0;
  transition: background .3s ease, color .3s ease, transform .35s cubic-bezier(0.34,1.56,0.64,1), border-color .3s ease;
}
.svc-cta-link:hover .svc-cta-icon {
  background: #28a745; color: #fff; border-color: #28a745;
  transform: translateX(6px);
}
.svc-cta-icon span { display: block; animation: svc-arrow-bounce 1.6s ease-in-out infinite; }
.svc-cta-link:hover .svc-cta-icon span { animation: none; }
@keyframes svc-arrow-bounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .svc-section { padding: 56px 0; }
  .svc-title   { font-size: 1.8rem; }
  .sub-heading { font-size: 1.35rem; }
  .bld-stats   { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .svc-section       { padding: 40px 0; }
  .svc-title         { font-size: 1.55rem; }
  .svc-header        { margin-bottom: 28px; }
  .checklist-grid    { grid-template-columns: 1fr; }
  .detail-tab-panels { padding: 20px; }
  .bld-stats         { grid-template-columns: 1fr 1fr; }
}
