/**
 * Energy Badger — Memphis-style tokens + components (works with Tailwind utilities).
 */
:root {
  --deep-blue: #0f2744;
  --ocean-blue: #1d4ed8;
  --ocean-blue-hover: #1e40af;
  --sky-blue: #3b82f6;
  --light-blue: #60a5fa;
  --pale-blue: #bfdbfe;
  /** Legacy hue names — remapped to blues for a single coherent palette */
  --forest-green: #0c4a6e;
  --emerald-green: #0891b2;
  --sage-green: #0e7490;
  --mint-green: #22d3ee;
  --eb-yellow: #38bdf8;
  --eb-mint: #22d3ee;
  --eb-coral: #6366f1;
  --eb-lilac: #818cf8;
  --black: #0b0f17;
  /** Near-black band for alternating sections (with light foreground in `.eb-section-ink`) */
  --eb-charcoal: #0f172a;
  --white: #ffffff;
  --gray-light: #f1f5f9;
  --gray-medium: #94a3b8;
  /** Darker than Bootstrap’s default .text-secondary for readability on pale backgrounds */
  --eb-text-secondary: #475569;
  /** Heatable-style marketing nav + Services mega-menu */
  --eb-nav-sage: #cfd8cf;
  --eb-nav-sage-border: rgba(11, 15, 23, 0.1);
  --eb-services-mega-card: #f2f2f2;
  --eb-services-mega-radius: 1.5rem;
  --eb-services-card-radius: 1rem;
  /** Mega panel: narrower than full navbar (centred) */
  --eb-services-mega-panel-max: 52rem;
  /** Advice mega (two hero tiles + strip links) */
  --eb-advice-mega-panel-max: 58rem;
  /** Heatable-inspired marketing palette (imagery & section rhythm) */
  --eb-green-dark: #0a2a1a;
  --eb-green-mid: #0f6e56;
  --eb-green: #1d9e75;
  --eb-mint: #e1f5ee;
  --eb-offwhite: #f7f6f2;
  --eb-amber: #ef9f27;
  --eb-amber-dark: #412402;
  --eb-blue: #185fa5;
  --eb-blue-light: #e6f1fb;
  --eb-text: #1a1a1a;
  --eb-text-muted: #5f5e5a;
  /** Smart Energi Hub–inspired sales / service pages */
  --eb-sales-navy: #080331;
  --eb-sales-blue: #2d62ff;
  --eb-sales-blue-hover: #1e4fd9;
  --eb-sales-blue-light: #d9e5ff;
  --eb-sales-surface: #f5f7fb;
  --eb-sales-muted: #606060;
  --eb-sales-card-shadow: 0 8px 32px rgba(8, 3, 49, 0.08);
  --eb-sales-card-border: rgba(8, 3, 49, 0.08);
}

.text-secondary {
  color: var(--eb-text-secondary) !important;
}

/* Footer stays light-on-dark (copyright, separators, muted contact lines) */
.eb-site-footer .text-secondary {
  color: rgba(255, 255, 255, 0.68) !important;
}

.memphis-bg {
  background-color: #f1f5f9;
  position: relative;
  overflow: hidden;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.memphis-bg::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: var(--sky-blue);
  border-radius: 50%;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

.memphis-bg::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: 5%;
  width: 300px;
  height: 300px;
  background: var(--ocean-blue);
  border-radius: 50%;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.memphis-bg > * {
  position: relative;
  z-index: 1;
}

.memphis-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  border: 3px solid var(--black);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.memphis-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.15);
}

/** Homepage “Our services” — keep product photos compact on small screens */
@media (max-width: 767.98px) {
  .eb-service-product-thumb {
    max-width: 10.5rem;
  }
}

.memphis-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  cursor: pointer;
  background: var(--eb-green);
  border: 3px solid var(--black);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.memphis-button:hover {
  color: var(--white);
  background: var(--eb-green-mid);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
}

/** Primary CTA — sentence case, less “sales” than all-caps */
.memphis-button--natural {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.memphis-button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--ocean-blue);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  cursor: pointer;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.memphis-button-ghost:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.memphis-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  cursor: pointer;
  background: var(--eb-blue);
  border: 3px solid var(--black);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.memphis-button-secondary:hover {
  color: var(--white);
  background: color-mix(in srgb, var(--eb-blue) 82%, #000);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
}

.eb-input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  background: var(--white);
  border: 2px solid var(--black);
}

.eb-input-field:focus {
  outline: none;
  border-color: var(--ocean-blue);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.22);
}

.eb-input-field.eb-input-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

.eb-input-field.eb-input-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.28);
}

/** Password fields: eye toggle aligned inside the input */
.eb-password-field {
  position: relative;
}

.eb-password-field .eb-input-field {
  padding-right: 2.75rem;
}

.eb-password-toggle {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0.25rem;
  background: transparent;
  color: var(--black);
  cursor: pointer;
  line-height: 0;
}

.eb-password-toggle:hover {
  color: var(--ocean-blue);
}

.eb-password-toggle:focus-visible {
  outline: 2px solid var(--ocean-blue);
  outline-offset: 2px;
}

.eb-password-toggle__icon {
  display: inline-flex;
  pointer-events: none;
}

.text-ocean-blue {
  color: var(--ocean-blue);
}

/** Portal home: quote / message counts */
.eb-portal-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.35rem;
  box-sizing: border-box;
  border-radius: 9999px;
  background: var(--ocean-blue);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

/** Customer portal top nav: compact blue pill on Quotes / Messages */
.eb-portal-nav-count-badge {
  position: absolute;
  top: -0.3rem;
  right: -0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.28rem;
  box-sizing: border-box;
  border-radius: 9999px;
  background: var(--ocean-blue);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
  border: 2px solid var(--white);
  pointer-events: none;
}

.text-emerald-green {
  color: var(--emerald-green);
}
.text-eb-coral {
  color: var(--eb-coral);
}
.text-eb-mint {
  color: var(--eb-mint);
}
.text-eb-lilac {
  color: var(--eb-lilac);
}
.text-eb-yellow {
  color: var(--eb-yellow);
}
.bg-eb-yellow-tint {
  background-color: color-mix(in srgb, var(--eb-yellow) 22%, transparent);
}
.bg-eb-mint-tint {
  background-color: color-mix(in srgb, var(--eb-mint) 22%, transparent);
}
.bg-eb-lilac-tint {
  background-color: color-mix(in srgb, var(--eb-lilac) 22%, transparent);
}

/** Step badges / inline panels that used hardcoded green tints */
.bg-eb-accent-tint {
  background-color: color-mix(in srgb, var(--emerald-green) 22%, transparent);
}

.bg-eb-accent-tint-strong {
  background-color: color-mix(in srgb, var(--emerald-green) 28%, transparent);
}

/**
 * Dark section band: light copy on the band; cards and accordions stay white so tints and body text stay readable.
 */
.eb-section-ink {
  background-color: var(--eb-charcoal);
  color: rgba(255, 255, 255, 0.93);
}

.eb-section-ink > .container,
.eb-section-ink > .container-fluid {
  --bs-body-color: rgba(255, 255, 255, 0.93);
}

.eb-section-ink .text-secondary {
  color: rgba(255, 255, 255, 0.74) !important;
}

.eb-section-ink .lead {
  color: rgba(255, 255, 255, 0.92) !important;
}

.eb-section-ink .lead strong {
  color: #fff !important;
}

.eb-section-ink .memphis-card .lead strong {
  color: var(--black) !important;
}

.eb-section-ink h1,
.eb-section-ink h2,
.eb-section-ink h3,
.eb-section-ink h4,
.eb-section-ink .display-5,
.eb-section-ink .display-6 {
  color: #fff !important;
}

.eb-section-ink .text-black {
  color: #fff !important;
}

.eb-section-ink a.text-ocean-blue,
.eb-section-ink a.fw-semibold.text-ocean-blue {
  color: var(--pale-blue) !important;
}

.eb-section-ink a.text-ocean-blue:hover,
.eb-section-ink a.fw-semibold.text-ocean-blue:hover {
  color: #fff !important;
}

.eb-section-ink .text-ocean-blue:not(a) {
  color: var(--pale-blue) !important;
}

/* Restore dark-on-light inside white cards / panels */
.eb-section-ink .memphis-card,
.eb-section-ink .memphis-card h1,
.eb-section-ink .memphis-card h2,
.eb-section-ink .memphis-card h3,
.eb-section-ink .memphis-card h4,
.eb-section-ink .memphis-card h5,
.eb-section-ink .memphis-card .text-black,
.eb-section-ink .memphis-card .lead {
  color: var(--black) !important;
}

.eb-section-ink .memphis-card .text-secondary {
  color: var(--eb-text-secondary) !important;
}

.eb-section-ink .memphis-card a.text-ocean-blue {
  color: var(--ocean-blue) !important;
}

.eb-section-ink .memphis-card a.text-ocean-blue:hover {
  color: var(--deep-blue) !important;
}

/* Step numbers use coloured .display-6 — override generic heading colour on cards */
.eb-section-ink .memphis-card .display-6.text-eb-coral {
  color: var(--eb-coral) !important;
}

.eb-section-ink .memphis-card .display-6.text-eb-mint {
  color: var(--eb-mint) !important;
}

.eb-section-ink .memphis-card .display-6.text-eb-lilac {
  color: var(--eb-lilac) !important;
}

.eb-section-ink .accordion-item.bg-white,
.eb-section-ink .accordion-item.bg-white .accordion-button {
  color: var(--black) !important;
}

.eb-section-ink .accordion-item.bg-white .accordion-body.text-secondary {
  color: var(--eb-text-secondary) !important;
}

.eb-section-ink .accordion-item.bg-white a.text-ocean-blue {
  color: var(--ocean-blue) !important;
}

.eb-section-ink figure.memphis-card .text-black,
.eb-section-ink figure.memphis-card figcaption .text-black {
  color: var(--black) !important;
}

.eb-section-ink figure.memphis-card .text-secondary {
  color: var(--eb-text-secondary) !important;
}

/* Wrapped service cards: Bootstrap `text-reset` inherits section white — force dark copy on the card */
.eb-section-ink a.text-decoration-none.text-reset {
  color: var(--black) !important;
}

.eb-section-ink a.text-decoration-none.text-reset .text-ocean-blue {
  color: var(--ocean-blue) !important;
}

.eb-section-ink a.text-decoration-none.text-reset .text-eb-coral {
  color: var(--eb-coral) !important;
}

/* Inline light panels on charcoal (e.g. disclaimer strip) */
.eb-section-ink p.bg-white.text-secondary,
.eb-section-ink p.bg-white {
  color: var(--eb-text-secondary) !important;
}

.eb-section-ink p.bg-white .text-ocean-blue {
  color: var(--ocean-blue) !important;
}

.eb-section-ink .border-dark.border-opacity-10 {
  border-color: rgba(255, 255, 255, 0.14) !important;
}

.eb-section-ink hr.border-dark {
  border-color: rgba(255, 255, 255, 0.14) !important;
}

/**
 * Tailwind CDN defines a `.collapse` utility that overrides Bootstrap 5’s
 * `.collapse` on `.navbar-collapse`, hiding nav links. Restore Bootstrap behaviour.
 */
nav.navbar .navbar-collapse.collapse {
  visibility: visible !important;
  margin-bottom: 20px;
}

@media (min-width: 992px) {
  nav.navbar.navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto !important;
    flex-grow: 1;
    align-items: center;
    justify-content: flex-end;
    height: auto !important;
    overflow: visible !important;
  }

  .eb-site-navbar > .container {
    align-items: center;
  }
}

/* Main nav — 110px strip + full-size logo overlapping below (same as former desktop-only treatment) */
.eb-site-navbar {
  min-height: 110px;
  height: 110px;
  overflow: visible;
}

.eb-site-navbar > .container {
  overflow: visible;
}

.eb-site-navbar .eb-nav-logo {
  width: auto;
  height: auto;
  max-width: min(210px, calc(100vw - 5.5rem));
  max-height: 210px;
  object-fit: contain;
  margin-top: 60px;
  /* EXIF / from-image can wrongly rotate PNG logos in some browsers */
  image-orientation: none;
}

/**
 * Shared mobile nav shell (marketing site + customer / installer / admin portals):
 * compact header row, solid panel under the toggler, same grid as index.php main nav.
 */
@media (max-width: 991.98px) {
  .eb-mobile-nav-shell {
    height: auto;
    min-height: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background-color: var(--white) !important;
  }

  .eb-mobile-nav-shell > .container,
  .eb-mobile-nav-shell > .container-fluid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: 0.5rem;
  }

  .eb-mobile-nav-shell.navbar {
    --bs-navbar-padding-y: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .eb-mobile-nav-shell .navbar-brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    align-self: start;
  }

  /* Marketing + portals: keep header row short so the menu sits just under the toggler */
  .eb-mobile-nav-shell .eb-nav-logo {
    margin-top: 0.35rem;
    max-height: 80px;
    width: auto;
    image-orientation: none;
  }

  .eb-mobile-nav-shell .navbar-toggler {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    margin-top: 0.35rem;
  }

  .eb-mobile-nav-shell .navbar-collapse {
    grid-column: 1 / -1;
    grid-row: 2;
    position: relative;
    z-index: 1035;
    margin-top: 0.35rem;
    padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background-color: var(--white);
    border: 2px solid var(--black);
    border-radius: 0.35rem;
    box-shadow: 0 8px 24px rgba(11, 15, 23, 0.12);
    width: 100%;
    max-width: 100%;
  }

  .eb-mobile-nav-shell .navbar-collapse .navbar-nav,
  .eb-mobile-nav-shell .navbar-collapse > .d-flex {
    width: 100%;
  }

  /* Mega menus in collapsed nav: stay in document flow; avoid Popper transforms breaking image layout on iOS */
  .eb-mobile-nav-shell .navbar-collapse .dropdown-menu {
    position: static !important;
    float: none;
    transform: none !important;
    inset: auto !important;
    width: 100%;
    margin-top: 0.35rem;
  }

  .eb-mobile-nav-shell .eb-services-mega {
    padding-left: 0;
    padding-right: 0;
  }

  .eb-mobile-nav-shell .eb-services-mega__inner {
    margin-top: 0;
    margin-bottom: 0.35rem;
    padding: 1rem 0.85rem 0.85rem;
    box-shadow: none;
    border: 1px solid rgba(11, 15, 23, 0.1);
  }

  .eb-mobile-nav-shell .eb-advice-hero-card {
    min-height: 0;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .eb-mobile-nav-shell .eb-advice-hero-card__img {
    transform: none;
  }

  .eb-mobile-nav-shell .eb-advice-hero-card:hover .eb-advice-hero-card__img {
    transform: none;
  }

  .eb-mobile-nav-shell .eb-services-mega-card__visual img {
    max-height: 6.5rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

}

@media (min-width: 992px) {
  /* Solid bar on marketing nav; other pages may keep frosted strip */
  .eb-site-navbar:not(.eb-navbar-market) {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

/* Installer portal — same logo treatment as main site nav (110px strip + overlapping logo) */
.eb-installer-navbar {
  min-height: 110px;
  overflow: visible;
}

.eb-installer-navbar > .container-fluid {
  overflow: visible;
  z-index: 1040;
}

.eb-installer-navbar .eb-nav-logo {
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (min-width: 992px) {
  /* Installer + admin portal nav: fixed band when not on mobile (matches prior header strip) */
  .eb-installer-navbar.eb-mobile-nav-shell {
    height: 120px;
    padding-top: 80px;
  }

  .eb-installer-navbar .eb-nav-logo {
    max-width: min(210px, calc(100vw - 5.5rem));
    max-height: 210px;
  }
}

/* Marketing nav — white bar + mega-menus */

.eb-navbar-market {
  background-color: var(--white) !important;
  border-bottom: 1px solid var(--eb-nav-sage-border) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (max-width: 991.98px) {
  .eb-navbar-market.eb-mobile-nav-shell {
    background-color: var(--white) !important;
  }
}

@media (min-width: 992px) {
  .eb-nav-services.show > .nav-link.dropdown-toggle,
  .eb-nav-advice.show > .nav-link.dropdown-toggle {
    background-color: var(--white);
    border-radius: 999px;
    padding-left: 1rem;
    padding-right: 1rem;
    box-shadow: 0 1px 4px rgba(11, 15, 23, 0.08);
  }

  .eb-nav-services > .nav-link.dropdown-toggle::after,
  .eb-nav-advice > .nav-link.dropdown-toggle::after {
    transition: transform 0.2s ease;
    vertical-align: 0.15em;
  }

  .eb-nav-services.show > .nav-link.dropdown-toggle::after,
  .eb-nav-advice.show > .nav-link.dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

.eb-services-mega {
  background-color: transparent;
  padding: 0 clamp(0.75rem, 2.5vw, 1.5rem);
  width: 100%;
  min-width: 0;
  border-radius: 0;
}

.eb-services-mega__inner {
  margin-top: 0.35rem;
  margin-bottom: 0.5rem;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--eb-services-mega-panel-max);
  width: 100%;
  padding: 1.75rem 1.25rem 1.25rem;
  background-color: var(--white);
  border-radius: var(--eb-services-mega-radius);
  box-shadow: 0 18px 48px rgba(11, 15, 23, 0.12), 0 2px 8px rgba(11, 15, 23, 0.06);
}

.eb-advice-mega__inner {
  max-width: var(--eb-advice-mega-panel-max);
}

.eb-advice-mega__inner .row > [class*="col-"] {
  min-width: 0;
}

@media (min-width: 992px) {
  .eb-services-mega__inner {
    padding: 1.85rem 1.75rem 1.5rem;
  }
}

.eb-services-mega__footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(11, 15, 23, 0.08);
}

.eb-services-mega__all {
  font-size: 0.9rem;
  color: var(--ocean-blue);
}

.eb-services-mega__all--current {
  color: var(--black);
  text-decoration: underline !important;
  text-underline-offset: 0.15em;
}

.eb-services-mega__all:hover {
  color: var(--ocean-blue-hover);
  text-decoration: underline !important;
}

.eb-services-mega-card {
  display: flex;
  flex-direction: column;
  min-height: 15rem;
  height: 100%;
  padding: 1rem 1rem 1.1rem;
  text-decoration: none;
  color: var(--black);
  background-color: var(--eb-services-mega-card);
  border-radius: var(--eb-services-card-radius);
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.eb-services-mega-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(11, 15, 23, 0.1);
  color: var(--black);
}

.eb-services-mega-card:focus-visible {
  outline: 2px solid var(--ocean-blue);
  outline-offset: 3px;
}

.eb-services-mega-card--active {
  border-color: rgba(29, 78, 216, 0.35);
  box-shadow: 0 0 0 1px rgba(29, 78, 216, 0.2);
}

.eb-services-mega-card__visual {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 7.5rem;
  padding: 0.5rem 0.25rem 1rem;
}

.eb-services-mega-card__visual img {
  max-height: 7.5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.eb-services-mega-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
}

.eb-services-mega-card__text {
  min-width: 0;
}

.eb-services-mega-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.eb-services-mega-card__sub {
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--eb-text-secondary);
}

.eb-services-mega-card__go {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--black);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.eb-services-mega-card:hover .eb-services-mega-card__go {
  background-color: var(--ocean-blue);
}

/* Advice mega — image hero tiles + compact strip links */
.eb-advice-hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 15.5rem;
  height: 100%;
  max-width: 100%;
  width: 100%;
  border-radius: var(--eb-services-card-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 992px) {
  .eb-advice-hero-card {
    min-height: 17.5rem;
  }
}

.eb-advice-hero-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(11, 15, 23, 0.18);
  color: var(--white);
}

.eb-advice-hero-card:focus-visible {
  outline: 2px solid var(--ocean-blue);
  outline-offset: 3px;
}

.eb-advice-hero-card--active {
  box-shadow: 0 0 0 2px var(--ocean-blue), 0 0 0 4px var(--white);
}

.eb-advice-hero-card--story .eb-advice-hero-card__img {
  filter: grayscale(1);
}

.eb-advice-hero-card--story:hover .eb-advice-hero-card__img {
  filter: grayscale(0.88);
}

.eb-advice-hero-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  /* from-image + cover has caused 90° mis-rotation / overflow in WebKit */
  image-orientation: none;
  transition: transform 0.35s ease, filter 0.35s ease;
  pointer-events: none;
}

.eb-advice-hero-card:hover .eb-advice-hero-card__img {
  transform: scale(1.05);
}

.eb-advice-hero-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 15, 23, 0.82) 0%,
    rgba(11, 15, 23, 0.35) 42%,
    rgba(11, 15, 23, 0.08) 100%
  );
  pointer-events: none;
}

.eb-advice-hero-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.15rem 1.15rem;
}

.eb-advice-hero-card__text {
  min-width: 0;
}

.eb-advice-hero-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.eb-advice-hero-card__sub {
  font-size: 0.9rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.eb-advice-hero-card__go {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(11, 15, 23, 0.2);
}

.eb-advice-hero-card:hover .eb-advice-hero-card__go {
  background-color: var(--white);
  color: var(--ocean-blue);
}

.eb-advice-strip-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 1rem 1.15rem;
  text-decoration: none;
  color: var(--black);
  background-color: var(--eb-services-mega-card);
  border-radius: var(--eb-services-card-radius);
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.eb-advice-strip-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(11, 15, 23, 0.1);
  color: var(--black);
}

.eb-advice-strip-card:focus-visible {
  outline: 2px solid var(--ocean-blue);
  outline-offset: 3px;
}

.eb-advice-strip-card--active {
  border-color: rgba(29, 78, 216, 0.35);
  box-shadow: 0 0 0 1px rgba(29, 78, 216, 0.2);
}

.eb-advice-strip-card__text {
  min-width: 0;
}

.eb-advice-strip-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}

.eb-advice-strip-card__sub {
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--eb-text-secondary);
  margin: 0;
}

.eb-advice-strip-card__go {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background-color: var(--black);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.eb-advice-strip-card:hover .eb-advice-strip-card__go {
  background-color: var(--ocean-blue);
}

.table-responsive {
  -webkit-overflow-scrolling: touch;
}

/* Home hero — grid stack so the image grows with content (avoids clipping on narrow viewports) */
.eb-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.eb-hero-inner > .eb-hero-img,
.eb-hero-inner > .eb-hero-overlay {
  grid-column: 1;
  grid-row: 1;
}

.eb-hero-inner > .eb-hero-img {
  display: block;
  width: 100%;
  min-height: 18rem;
  height: 100%;
  align-self: stretch;
  object-fit: cover;
  /* Shift focus toward roof/home; reduces mascot competing with estimator */
  object-position: 62% 42%;
  /* Let the row grow with overlay content on small screens; cap height on large screens */
  max-height: none;
}

@media (min-width: 992px) {
  .eb-hero-inner > .eb-hero-img {
    object-position: 58% 38%;
  }
}

/** Stronger readability over photo */
.eb-hero-overlay--readable {
  background: linear-gradient(
    115deg,
    rgba(11, 24, 44, 0.97) 0%,
    rgba(15, 39, 68, 0.88) 35%,
    rgba(15, 39, 68, 0.55) 58%,
    rgba(15, 39, 68, 0.25) 78%,
    rgba(15, 39, 68, 0.12) 100%
  ) !important;
}

.eb-hero-lead {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

/** Premium estimator panel */
.eb-estimator-card {
  border-radius: 1.15rem;
  border: 1px solid rgba(11, 15, 23, 0.12);
  box-shadow: 0 12px 40px rgba(11, 15, 23, 0.18), 0 2px 0 rgba(11, 15, 23, 0.06);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
}

.eb-estimator-card .memphis-button {
  min-height: 2.75rem;
}

@media (max-width: 575.98px) {
  .eb-estimator-card .memphis-button {
    min-height: 3rem;
  }
}

/** Section surfaces — cohesive bands */
.eb-section-surface {
  background: var(--gray-light);
}

.eb-section-surface-white {
  background: rgba(255, 255, 255, 0.92);
}

.eb-section-surface-tint {
  background: color-mix(in srgb, var(--pale-blue) 35%, var(--white));
}

.eb-section-surface-tint-bs {
  background: #030504;
}

/** Heatable-style alternating marketing bands */
.eb-surface-trust {
  background: #fff;
  border-top: 2px solid var(--eb-green);
}

.eb-surface-benefits {
  background: var(--eb-offwhite);
  color: var(--eb-text);
}

.eb-surface-benefits .text-secondary {
  color: var(--eb-text-muted) !important;
}

.eb-surface-process {
  background: var(--eb-mint);
  color: var(--eb-green-mid);
}

.eb-surface-process .text-secondary {
  color: color-mix(in srgb, var(--eb-green-mid) 72%, #1a1a1a) !important;
}

.eb-surface-process .text-ocean-blue,
.eb-surface-process .text-black {
  color: var(--eb-green-dark) !important;
}

.eb-surface-testimonials {
  background: var(--eb-green-mid);
  color: #fff;
}

.eb-surface-testimonials .text-secondary,
.eb-surface-testimonials .testimonial-source {
  color: rgba(255, 255, 255, 0.88) !important;
}

.eb-surface-testimonials .display-5,
.eb-surface-testimonials .fw-bold.text-black,
.eb-surface-testimonials {
  color: #fff !important;
}

.eb-surface-testimonials .text-eb-yellow,
.eb-surface-testimonials .memphis-card [aria-hidden="true"] {
  color: var(--eb-amber) !important;
}

.eb-surface-testimonials .memphis-card {
  background: rgba(255, 255, 255, 0.98);
  color: var(--eb-text);
}

.eb-surface-testimonials .memphis-card .text-black {
  color: var(--eb-text) !important;
}

.eb-surface-testimonials .memphis-card .text-secondary {
  color: var(--eb-text-muted) !important;
}

.eb-surface-detail {
  background: #fff;
  color: var(--eb-text);
}

.eb-surface-closer {
  background: var(--eb-green-dark);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.eb-surface-closer .display-6,
.eb-surface-closer .h4,
.eb-surface-closer h2 {
  color: #fff !important;
}

.eb-surface-closer .text-black {
  color: #fff !important;
}

.eb-surface-closer .text-secondary,
.eb-surface-closer .fs-5,
.eb-surface-closer .small {
  color: rgba(255, 255, 255, 0.88) !important;
}

.eb-surface-closer .memphis-button {
  background: var(--eb-green);
}

.eb-surface-closer .memphis-button:hover {
  background: var(--eb-green-mid);
}

.memphis-button-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #fff !important;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  border: 2px solid #fff;
  background: transparent;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.memphis-button-outline-light:hover {
  background: #fff;
  color: var(--eb-green-dark) !important;
}

.eb-faq-accordion-striped .accordion-item:nth-child(even) .accordion-button.collapsed {
  background: var(--eb-offwhite) !important;
}

/** Mobile sticky conversion bar */
.eb-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  padding: 0.65rem 1rem;
  padding-bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  border-top: 2px solid var(--black);
  box-shadow: 0 -6px 24px rgba(11, 15, 23, 0.12);
}

.eb-sticky-cta .memphis-button {
  width: 100%;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.eb-home-sticky-padding {
  padding-bottom: 5.25rem;
}

@media (min-width: 992px) {
  .eb-home-sticky-padding {
    padding-bottom: 0;
  }
}

.eb-hero-inner > .eb-hero-overlay {
  position: relative;
  z-index: 1;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .eb-hero-inner > .eb-hero-img {
    min-height: 22rem;
  }
}

@media (min-width: 992px) {
  .eb-hero-inner > .eb-hero-img {
    min-height: 26rem;
    max-height: 72vh;
  }
}

/* Site footer — social icons stay white; SVGs use currentColor */
.eb-site-footer .eb-footer-social-link {
  color: #fff !important;
  background: transparent;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.eb-site-footer .eb-footer-social-link:hover,
.eb-site-footer .eb-footer-social-link:focus-visible {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
  transform: translateY(-2px);
}

.eb-site-footer .eb-footer-social-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

/* Legal / policy pages */
.eb-legal-page {
  max-width: 48rem;
}

/* Solar savings page — layout & step chrome (Memphis: bold border, ocean-blue). Hero uses .eb-surface-detail + border utilities in markup. */
.eb-solar-page__lede {
  line-height: 1.55;
}
.eb-solar-steps {
  row-gap: 0.5rem;
}
.eb-solar-steps__arrow {
  opacity: 0.45;
  font-size: 0.85rem;
  user-select: none;
}
.eb-solar-step-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--eb-text-secondary);
  background: rgba(255, 255, 255, 0.55);
  border: 2px solid rgba(15, 23, 42, 0.12);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.eb-solar-step-pill.is-active {
  color: var(--ocean-blue);
  background: #fff;
  border-color: var(--ocean-blue);
  box-shadow: 3px 3px 0 rgba(29, 78, 216, 0.18);
}
/* Step row sits on .eb-surface-benefits — solid white reads clearer than translucent chips on off-white */
.eb-solar-page .eb-surface-benefits .eb-solar-step-pill:not(.is-active) {
  background: #fff;
}
.memphis-card.memphis-card--solar-wizard {
  box-shadow: 0 12px 28px -8px rgba(11, 15, 23, 0.12);
}
.memphis-card.memphis-card--solar-wizard:hover {
  transform: translateY(-2px);
  box-shadow: 6px 10px 0 rgba(0, 0, 0, 0.1);
}
.eb-solar-panel__title {
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(29, 78, 216, 0.2);
}
.eb-solar-fieldset {
  background: rgba(255, 255, 255, 0.5);
}
.eb-solar-stat-card--accent {
  background: linear-gradient(145deg, color-mix(in srgb, var(--eb-mint) 18%, #fff) 0%, #fff 100%);
}
.eb-solar-stat-card:not(.eb-solar-stat-card--accent) {
  background: linear-gradient(180deg, #fff 0%, var(--gray-light) 100%);
}
.eb-solar-assumptions {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.eb-solar-roof-hints {
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.06);
}

/* Roof snapshot — document-style header, soft panel, per-face tabs */
.eb-solar-roof-snapshot {
  --eb-roof-snapshot-surface: #f4f6f8;
  background: var(--eb-roof-snapshot-surface) !important;
}
.eb-solar-roof-snapshot__head-icon,
.eb-solar-roof-snapshot__title {
  color: var(--ocean-blue);
}
.eb-solar-roof-snapshot__title {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.eb-solar-roof-snapshot__disclaimer {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  color: var(--eb-text-secondary, #5c5c5c);
}
.eb-solar-roof-snapshot__disclaimer-icon {
  color: var(--eb-text-secondary, #5c5c5c);
  margin-top: 0.1rem;
  opacity: 0.85;
}

.eb-solar-roof-snapshot__subsection--property {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}
.eb-solar-roof-snapshot__subsection-title {
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--ocean-blue);
}
.eb-solar-roof-snapshot__subsection-sub {
  line-height: 1.4;
  max-width: 42rem;
}

/* Roof snapshot — per-face tabs (when multiple roof segments are available) */
.eb-roof-face-tabs {
  width: 100%;
  margin-bottom: 0.6rem;
}
.eb-roof-face-tabs__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.eb-roof-face-tabs .nav-item {
  margin: 0;
}
.eb-roof-face-tabs__tab.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-transform: uppercase;
  color: #64748b !important;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  border-radius: 9999px !important;
  padding: 0.45rem 0.85rem 0.45rem 0.75rem;
  margin: 0;
  white-space: normal;
  text-align: left;
  max-width: 100%;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.15s ease;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}
.eb-roof-face-tabs__tab .eb-roof-face-tabs__text {
  min-width: 0;
  text-align: left;
  white-space: normal;
}
.eb-roof-face-tabs__tab .eb-roof-face-tabs__compass {
  flex-shrink: 0;
  display: block;
  opacity: 0.95;
}
.eb-roof-face-tabs__tab.nav-link:hover {
  border-color: rgba(29, 78, 216, 0.4) !important;
  color: var(--ocean-blue) !important;
  background: #fff;
  transform: translateY(-1px);
}
.eb-roof-face-tabs__tab.nav-link.active {
  color: #fff !important;
  background: var(--ocean-blue) !important;
  border-color: #1a56c8 !important;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
}
.eb-roof-face-tabs__tab.nav-link.active:hover {
  color: #fff !important;
  background: #1a56c8 !important;
  border-color: #174cb3 !important;
  transform: none;
}
.eb-roof-face-tabs__tab.nav-link:focus-visible {
  outline: 2px solid var(--ocean-blue);
  outline-offset: 2px;
}

/* Installer wizard — multi-face System step rows */
.eb-system-face-row {
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.08);
  transition: opacity 0.15s ease, border-color 0.15s ease;
}
.eb-system-face-row--inactive {
  opacity: 0.72;
  border-color: rgba(15, 23, 42, 0.35) !important;
}
.eb-system-face-row--inactive .eb-system-face-row__controls {
  pointer-events: none;
}
.eb-system-face-row__controls .form-range {
  min-width: 8rem;
}
.eb-system-face-row__orient {
  max-width: 100%;
}

.letter-spacing-wide {
  letter-spacing: 0.06em;
}

/* Solar savings wizard — Leaflet map */
.eb-solar-map {
  min-height: 300px;
  max-height: 75vh;
  resize: vertical;
  overflow: hidden;
  background: var(--gray-light);
}
@media (min-width: 768px) {
  .eb-solar-map {
    min-height: 360px;
  }
}

/* Solar wizard — roof hint grid (small bordered cards) */
.eb-solar-roof-snapshot .eb-roof-hint-card {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 1px 2px rgba(15, 23, 42, 0.06);
}
.eb-roof-hint-card {
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.08);
}
.eb-roof-hint-card__icon {
  margin-top: 0.2rem;
  opacity: 0.92;
  width: 22px;
  height: 22px;
}
.eb-roof-hint-card__label {
  font-size: clamp(0.95rem, 2.6vw, 1rem);
  /* font-weight: 800; */
  letter-spacing: -0.01em;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 0.45rem;
}
.eb-roof-hint-card__value {
  font-size: clamp(1.35rem, 4.2vw, 1.85rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}
.eb-roof-hint-card__note {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--eb-text-secondary, #5c5c5c);
  line-height: 1.35;
  margin-top: 0.45rem;
}
.eb-roof-area-override-controls {
  row-gap: 0.5rem;
}
.eb-roof-area-override-input {
  max-width: 150px;
}
.eb-roof-area-override-actions {
  flex-wrap: nowrap;
}
.eb-roof-area-override-btn {
  min-width: 84px;
  padding: 0.35rem 0.7rem;
  font-size: 0.9rem;
}

.leaflet-container {
  font-family: Inter, system-ui, sans-serif;
}

/* Solar savings — prominent export / self-consumption toggle */
.eb-tariff-advanced-toggle .form-switch .form-check-input,
.eb-annual-flux-toggle .form-switch .form-check-input {
  width: 3rem;
  height: 1.5rem;
  border: 2px solid var(--black);
  cursor: pointer;
}
.eb-tariff-advanced-toggle .form-switch .form-check-input:focus,
.eb-annual-flux-toggle .form-switch .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(29, 78, 216, 0.35);
  border-color: var(--ocean-blue);
}
.eb-tariff-advanced-toggle .form-switch .form-check-input:checked,
.eb-annual-flux-toggle .form-switch .form-check-input:checked {
  background-color: var(--ocean-blue);
  border-color: var(--black);
}

/* Solar savings wizard — wide help tooltips */
.eb-solar-tooltip-wide .tooltip-inner {
  max-width: 22rem;
  text-align: left;
}
.eb-wizard-help:focus-visible {
  outline: 2px solid var(--ocean-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

/*
 * Tailwind 3.4+ ships a `.collapse` utility (visibility: collapse for tables).
 * Bootstrap accordions use the same class name on panels — without this override,
 * body text can vanish when a panel opens.
 */
.accordion .accordion-collapse.collapse,
.accordion .accordion-collapse.collapsing,
.accordion .accordion-collapse.collapse.show {
  visibility: visible !important;
}

/* Home FAQ accordion */
.eb-faq-accordion .accordion-button {
  background-color: #fff;
  color: var(--black);
  box-shadow: none;
}
.eb-faq-accordion .accordion-button:not(.collapsed) {
  background-color: color-mix(in srgb, var(--pale-blue) 38%, transparent);
  color: var(--black);
  box-shadow: none;
}
.eb-faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}
.eb-faq-accordion .accordion-button:focus-visible {
  outline: 2px solid var(--ocean-blue);
  outline-offset: -2px;
  z-index: 1;
}
.eb-faq-accordion .accordion-body {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.eb-faq-accordion .accordion-item {
  border-radius: 0.75rem !important;
  margin-bottom: 0.75rem !important;
  border-width: 1px !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 2px 8px rgba(11, 15, 23, 0.06);
}

.eb-testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--eb-text-secondary);
}

.eb-why-pillar {
  border-left: 4px solid var(--ocean-blue);
  padding-left: 1rem;
}

.eb-decision-card {
  border-radius: 1rem;
  border: 2px solid var(--black);
  background: var(--white);
  padding: 1.25rem 1.35rem;
  height: 100%;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.06);
}

/* Trust & credentials strip (compact + footer) */
.eb-trust-strip {
  padding-top: 1.25rem;
  padding-bottom: 0.25rem;
}
.eb-trust-strip--footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.75rem;
  margin-top: 0.5rem;
}
.eb-trust-strip--light {
  padding-bottom: 1rem;
}
.eb-trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.eb-trust-item.memphis-card {
  padding: 1rem 1.1rem;
}
.eb-trust-item__label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}
.eb-trust-strip--footer .eb-trust-item.memphis-card {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.25);
}
.eb-trust-strip--footer .eb-trust-item.memphis-card:hover {
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
}

/* Trust banner strip — matches homepage “premium” light panels */
.eb-trust-banner {
  background: color-mix(in srgb, var(--white) 94%, var(--pale-blue));
}

/** Logo strip only (e.g. under booking form) — no credential cards */
.eb-trust-logos-only {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
}

/* Homepage trust banner (logo strip below hero) */
.eb-trust-banner__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
}
.eb-trust-banner__slot {
  flex: 0 1 auto;
}
.eb-trust-banner__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.35rem 0.5rem;
  text-decoration: none;
  color: inherit;
}
.eb-trust-banner__link:focus-visible {
  outline: 2px solid var(--ocean-blue);
  outline-offset: 4px;
  border-radius: 0.35rem;
}
.eb-trust-banner__img {
  max-height: 3rem;
  width: auto;
  max-width: 9rem;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: grayscale(0.06);
}

.eb-trust-banner__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.eb-trust-banner__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--eb-text-secondary);
  background: color-mix(in srgb, var(--pale-blue) 45%, var(--white));
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 9999px;
  padding: 0.4rem 0.85rem;
}

.eb-trust-banner__chip svg {
  flex-shrink: 0;
  color: var(--emerald-green);
}
@media (min-width: 768px) {
  .eb-trust-banner__img {
    max-height: 3.25rem;
    max-width: 10rem;
  }
}
.eb-trust-banner__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 6.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.85rem;
  border: 2px dashed rgba(15, 23, 42, 0.22);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.6);
}
.eb-trust-banner__placeholder-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--eb-text-secondary);
}
.eb-trust-banner__link--placeholder:hover .eb-trust-banner__placeholder {
  border-color: rgba(29, 78, 216, 0.45);
  background: rgba(29, 78, 216, 0.06);
}

/* -----------------------------------------------------------------------------
 * Homepage only — calmer marketplace-style layout (Heatable-like: soft cards,
 * light section rules, premium hero). Scoped under .eb-home--market.
 * -------------------------------------------------------------------------- */
.memphis-bg.eb-home--market {
  background-color: #f8fafc;
}

.memphis-bg.eb-home--market::before,
.memphis-bg.eb-home--market::after {
  opacity: 0.035;
}

.eb-home--market .eb-hero.border-bottom {
  border-bottom-width: 1px !important;
  border-bottom-color: rgba(15, 23, 42, 0.08) !important;
}

.eb-home--market section.border-bottom {
  border-bottom-width: 1px !important;
  border-bottom-color: rgba(15, 23, 42, 0.07) !important;
}

.eb-home--market .eb-hero-overlay--readable {
  background: linear-gradient(
    115deg,
    rgba(11, 24, 44, 0.92) 0%,
    rgba(15, 39, 68, 0.8) 38%,
    rgba(15, 39, 68, 0.45) 60%,
    rgba(15, 39, 68, 0.18) 82%,
    rgba(15, 39, 68, 0.07) 100%
  ) !important;
}

.eb-home--market .eb-home-hero-title {
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.45);
}

.eb-home--market .eb-hero-lead {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.eb-home--market .memphis-card {
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 4px 22px rgba(15, 23, 42, 0.06);
  transform: none;
}

.eb-home--market .memphis-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.eb-home--market a.text-decoration-none.text-reset:hover .memphis-card {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.eb-home--market .eb-decision-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.eb-home--market .eb-faq-accordion .accordion-item.border {
  border-width: 1px !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.05);
}

.eb-home--market .memphis-button {
  border-width: 0;
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.32);
}

.eb-home--market .memphis-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(29, 78, 216, 0.42);
}

.eb-home--market .memphis-button:focus-visible {
  outline: 2px solid var(--ocean-blue);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.28), 0 4px 16px rgba(29, 78, 216, 0.32);
}

.eb-home--market .eb-section-ink .memphis-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.45), 0 4px 16px rgba(29, 78, 216, 0.35);
}

.eb-home--market .eb-estimator-card .eb-input-field {
  border: 1px solid rgba(15, 23, 42, 0.14);
}

.eb-home--market .eb-estimator-card {
  box-shadow: 0 16px 48px rgba(11, 15, 23, 0.12);
}

.eb-home--market .eb-trust-banner {
  background: #f1f5f9;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

@media (min-width: 768px) {
  .eb-home--market .eb-trust-banner .container {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }
}

.eb-home--market .eb-home-step-num {
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.eb-home--market .eb-home-inline-icon {
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.eb-home--market .eb-section-ink {
  background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
}

.eb-home--market .eb-section-ink.border-bottom {
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

.eb-home--market .eb-sticky-cta {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.08);
}

.eb-home--market .eb-why-pillar {
  border-left-width: 3px;
}

.eb-home--market .eb-home-service-tile .ratio img {
  transition: transform 0.35s ease;
}

.eb-home--market a.text-decoration-none:hover .eb-home-service-tile .ratio img {
  transform: scale(1.02);
}

/* -----------------------------------------------------------------------------
 * Homepage Heatable-inspired layer (clean nav, airy hero, service tiles, light
 * closing CTA). Stacks with .eb-home--market. Reference: consumer install sites
 * such as https://heatable.co.uk/ — layout patterns only, not copy.
 * -------------------------------------------------------------------------- */

body.eb-page-home-heatable .eb-site-navbar.border-bottom {
  border-bottom-width: 1px !important;
  border-bottom-color: rgba(15, 23, 42, 0.08) !important;
}

@media (max-width: 991.98px) {
  body.eb-page-home-heatable .eb-mobile-nav-shell .navbar-collapse {
    border-width: 1px;
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  }
}

.memphis-bg.eb-home--heatable.eb-home--market {
  background-color: #fafbfc;
}

.eb-home--heatable .eb-heatable-hero.border-bottom {
  border-bottom-width: 0 !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
  background-color: var(--eb-green-dark);
}

.eb-home--heatable .eb-hero-overlay--readable {
  background: linear-gradient(
    105deg,
    rgba(10, 42, 26, 0.92) 0%,
    rgba(15, 110, 86, 0.55) 45%,
    rgba(10, 42, 26, 0.25) 78%,
    rgba(10, 42, 26, 0.08) 100%
  ) !important;
}

.eb-home--heatable .eb-heatable-hero-title {
  letter-spacing: -0.02em;
}

.eb-home--heatable .eb-heatable-hero-sub {
  color: rgba(255, 255, 255, 0.92) !important;
  max-width: 34rem;
}

.eb-home--heatable .eb-trust-banner {
  background: #fff !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
  border-top: 2px solid var(--eb-green);
}

.eb-home--heatable .eb-heatable-how h2.display-5 {
  letter-spacing: -0.02em;
}

.eb-home--heatable .eb-heatable-step-card {
  border-radius: 1.15rem;
}

.eb-home--heatable .eb-heatable-step-card .eb-home-step-num {
  border: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.eb-home--heatable .eb-heatable-service-tile {
  border-radius: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.eb-home--heatable .eb-heatable-service-tile .ratio {
  border-radius: 0;
}

.eb-home--heatable a.text-decoration-none:hover .eb-heatable-service-tile .ratio img {
  transform: scale(1.03);
}

.eb-home--heatable .eb-heatable-from {
  line-height: 1.35;
}

.eb-home--heatable .eb-heatable-installers .ratio {
  border-color: rgba(15, 23, 42, 0.08) !important;
}

.eb-home--heatable .eb-heatable-testimonials h2.display-5 {
  letter-spacing: -0.02em;
}

.eb-home--heatable .eb-heatable-bottom-cta {
  background: linear-gradient(180deg, #f0f9ff 0%, #e2e8f0 55%, #f8fafc 100%);
  border-bottom-width: 1px !important;
  border-bottom-color: rgba(15, 23, 42, 0.08) !important;
}

.eb-home--heatable .eb-heatable-bottom-cta__title {
  color: #0f172a;
  letter-spacing: -0.02em;
}

.eb-home--heatable .eb-heatable-bottom-cta__lead {
  color: #475569;
}

.eb-home--heatable .eb-heatable-bottom-cta__muted {
  color: #64748b;
}

.eb-home--heatable .eb-heatable-bottom-cta__link {
  color: var(--ocean-blue);
}

.eb-home--heatable .eb-heatable-bottom-cta__link:hover {
  color: #1e40af;
}

.eb-home--heatable .eb-heatable-bottom-cta .memphis-button {
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.28);
}

/* Solar wizard — property & area insights drawer */
.eb-insights-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background: rgba(15, 23, 42, 0.48);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.eb-insights-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}
.eb-insights-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: min(100vw, 36.25rem);
  max-width: 100%;
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  outline: none;
}
.eb-insights-panel.is-open {
  transform: translateX(0);
}
.eb-insights-panel__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  overflow: hidden;
}
@media (min-width: 576px) {
  .eb-insights-panel__inner {
    border-radius: 0 0 0 0.75rem;
  }
}
.eb-insights-panel__body {
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.eb-insights-kv li:last-child {
  border-bottom: 0 !important;
}
.eb-insights-breakdown li:last-child {
  border-bottom: 0 !important;
}
.eb-insights-details summary {
  cursor: pointer;
  list-style-position: outside;
}
.eb-insights-epc-badge {
  min-width: 7rem;
  background: color-mix(in srgb, var(--pale-blue, #e8f4fc) 55%, var(--white, #fff));
}
.eb-insights-epc-letter {
  font-size: 1.35rem;
  line-height: 1.2;
}

/* -----------------------------------------------------------------------------
 * Solar PV service page — slate / ocean palette, soft cards (aligned with home)
 * -------------------------------------------------------------------------- */

body.eb-page-solar-pv .memphis-bg::before,
body.eb-page-solar-pv .memphis-bg::after {
  opacity: 0.055;
}

body.eb-page-solar-pv .eb-solar-pv-hero--dark {
  background: var(--eb-green-dark);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.eb-page-solar-pv .eb-solar-pv-hero--dark .text-black,
body.eb-page-solar-pv .eb-solar-pv-hero--dark h1 {
  color: #fff !important;
}

body.eb-page-solar-pv .eb-solar-pv-hero--dark .text-secondary,
body.eb-page-solar-pv .eb-solar-pv-hero--dark .eb-solar-pv-list {
  color: rgba(255, 255, 255, 0.88) !important;
}

body.eb-page-solar-pv .eb-solar-pv-hero--dark .eb-solar-pv-kicker {
  color: var(--eb-amber) !important;
}

body.eb-page-solar-pv .eb-solar-pv-hero--dark .text-ocean-blue {
  color: var(--eb-amber) !important;
}

body.eb-page-solar-pv .eb-solar-pv-hero--dark .memphis-button-secondary {
  border-color: rgba(255, 255, 255, 0.85);
}

body.eb-page-solar-pv .eb-solar-pv-hero:not(.eb-solar-pv-hero--dark) {
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--pale-blue) 42%, #fff) 0%,
    #fff 55%,
    color-mix(in srgb, var(--sky-blue) 10%, #f8fafc) 100%
  );
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

body.eb-page-solar-pv .eb-solar-pv-kicker {
  letter-spacing: 0.12em;
}

body.eb-page-solar-pv .eb-solar-pv-hero__media {
  /* border: 1px solid rgba(15, 23, 42, 0.08); */
}

body.eb-page-solar-pv .eb-solar-pv-section {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

body.eb-page-solar-pv .eb-solar-pv-aside {
  background: color-mix(in srgb, var(--pale-blue) 28%, #fff);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

body.eb-page-solar-pv .eb-solar-pv-step-card,
body.eb-page-solar-pv .eb-solar-pv-why-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 22px rgba(15, 23, 42, 0.06);
  padding: 1.5rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

body.eb-page-solar-pv .eb-solar-pv-step-card:hover,
body.eb-page-solar-pv .eb-solar-pv-why-card:hover {
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

body.eb-page-solar-pv .eb-solar-pv-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: color-mix(in srgb, var(--ocean-blue) 14%, #fff);
  color: var(--ocean-blue);
}

body.eb-page-solar-pv .eb-solar-pv-check-wrap {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 22px rgba(15, 23, 42, 0.05);
}

body.eb-page-solar-pv .eb-solar-pv-spec-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 1.75rem;
  box-shadow: 0 4px 22px rgba(15, 23, 42, 0.05);
}

body.eb-page-solar-pv .eb-solar-pv-spec-card--accent {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--pale-blue) 35%, #fff) 0%,
    #fff 100%
  );
  border-color: color-mix(in srgb, var(--ocean-blue) 22%, rgba(15, 23, 42, 0.08));
}

body.eb-page-solar-pv .eb-solar-pv-metrics {
  background: linear-gradient(180deg, #f1f5f9 0%, #e8eef5 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

body.eb-page-solar-pv .eb-solar-pv-metrics.eb-solar-accent-amber {
  background: var(--eb-amber);
  color: var(--eb-amber-dark);
  border-bottom: 1px solid rgba(65, 36, 2, 0.15);
}

body.eb-page-solar-pv .eb-solar-pv-metrics.eb-solar-accent-amber .text-secondary,
body.eb-page-solar-pv .eb-solar-pv-metrics.eb-solar-accent-amber .fs-5 {
  color: color-mix(in srgb, var(--eb-amber-dark) 88%, #000) !important;
}

body.eb-page-solar-pv .eb-solar-pv-metrics.eb-solar-accent-amber .eb-solar-pv-stat__value {
  color: var(--eb-amber-dark);
}

body.eb-page-solar-pv .eb-solar-pv-metrics.eb-solar-accent-amber .eb-solar-pv-stat {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(65, 36, 2, 0.12);
}

body.eb-page-solar-pv .eb-solar-pv-stat {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.07);
  padding: 1.5rem 1.25rem;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.05);
}

body.eb-page-solar-pv .eb-solar-pv-stat__value {
  font-size: clamp(1.85rem, 4.5vw, 2.35rem);
  font-weight: 800;
  color: var(--ocean-blue);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

body.eb-page-solar-pv .eb-solar-pv-faq .accordion-item {
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  border-radius: 0.85rem !important;
  overflow: hidden;
  background: #fff;
}

body.eb-page-solar-pv .eb-solar-pv-faq .accordion-button {
  box-shadow: none !important;
  background: #fff;
  font-size: 1rem;
}

body.eb-page-solar-pv .eb-solar-pv-faq .accordion-button:not(.collapsed) {
  background: color-mix(in srgb, var(--pale-blue) 38%, #fff);
  color: var(--black);
}

body.eb-page-solar-pv .eb-solar-pv-faq .accordion-body {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

/* -----------------------------------------------------------------------------
 * Battery storage service page — matches Solar PV page rhythm & palette
 * -------------------------------------------------------------------------- */

body.eb-page-battery-storage .memphis-bg::before,
body.eb-page-battery-storage .memphis-bg::after {
  opacity: 0.055;
}

body.eb-page-battery-storage .eb-bat-hero--dark {
  background: var(--eb-green-dark);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.eb-page-battery-storage .eb-bat-hero--dark .text-black,
body.eb-page-battery-storage .eb-bat-hero--dark h1 {
  color: #fff !important;
}

body.eb-page-battery-storage .eb-bat-hero--dark .text-secondary,
body.eb-page-battery-storage .eb-bat-hero--dark .eb-bat-list {
  color: rgba(255, 255, 255, 0.88) !important;
}

body.eb-page-battery-storage .eb-bat-hero--dark .eb-bat-kicker {
  color: var(--eb-amber) !important;
}

body.eb-page-battery-storage .eb-bat-hero--dark .text-ocean-blue {
  color: var(--eb-amber) !important;
}

body.eb-page-battery-storage .eb-bat-hero--dark .memphis-button-secondary {
  border-color: rgba(255, 255, 255, 0.85);
}

body.eb-page-battery-storage .eb-bat-hero--dark .badge {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: rgba(255, 255, 255, 0.95) !important;
}

body.eb-page-battery-storage .eb-battery-accent-blue {
  background: var(--eb-blue);
  color: var(--eb-blue-light);
}

body.eb-page-battery-storage .eb-battery-accent-blue .display-6,
body.eb-page-battery-storage .eb-battery-accent-blue h2 {
  color: var(--eb-blue-light) !important;
}

body.eb-page-battery-storage .eb-battery-accent-blue .text-white,
body.eb-page-battery-storage .eb-battery-accent-blue .text-white-50,
body.eb-page-battery-storage .eb-battery-accent-blue .fs-5 {
  color: var(--eb-blue-light) !important;
}

body.eb-page-battery-storage .eb-battery-accent-blue .text-white-50 {
  opacity: 0.92;
}

body.eb-page-battery-storage .eb-battery-accent-blue .eb-bat-night-figure {
  border-color: rgba(255, 255, 255, 0.25);
}

body.eb-page-battery-storage .eb-bat-hero:not(.eb-bat-hero--dark) {
  background: linear-gradient(
    175deg,
    color-mix(in srgb, var(--pale-blue) 38%, #fff) 0%,
    #fff 52%,
    color-mix(in srgb, var(--eb-lilac) 8%, #f8fafc) 100%
  );
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

body.eb-page-battery-storage .eb-bat-kicker {
  letter-spacing: 0.12em;
}

body.eb-page-battery-storage .eb-bat-hero__media {
  /* border: 1px solid rgba(15, 23, 42, 0.08); */
}

body.eb-page-battery-storage .eb-bat-section {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

body.eb-page-battery-storage .eb-bat-tile {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 3px 18px rgba(15, 23, 42, 0.05);
  padding: 1.35rem 0.75rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

body.eb-page-battery-storage .eb-bat-tile:hover {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.09);
  transform: translateY(-2px);
}

body.eb-page-battery-storage .eb-bat-tile__label {
  letter-spacing: 0.06em;
  color: var(--ocean-blue);
}

body.eb-page-battery-storage .eb-bat-callout {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 22px rgba(15, 23, 42, 0.05);
  padding: 1.75rem 1.5rem;
}

body.eb-page-battery-storage .eb-bat-step-card,
body.eb-page-battery-storage .eb-bat-compare-card,
body.eb-page-battery-storage .eb-bat-type-card,
body.eb-page-battery-storage .eb-bat-why-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 22px rgba(15, 23, 42, 0.06);
  padding: 1.5rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

body.eb-page-battery-storage .eb-bat-step-card:hover,
body.eb-page-battery-storage .eb-bat-why-card:hover {
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

body.eb-page-battery-storage .eb-bat-compare-card--accent {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--pale-blue) 32%, #fff) 0%,
    #fff 100%
  );
  border-color: color-mix(in srgb, var(--ocean-blue) 18%, rgba(15, 23, 42, 0.08));
}

body.eb-page-battery-storage .eb-bat-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: color-mix(in srgb, var(--ocean-blue) 14%, #fff);
  color: var(--ocean-blue);
}

body.eb-page-battery-storage .eb-bat-spec-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 1.75rem;
  box-shadow: 0 4px 22px rgba(15, 23, 42, 0.05);
}

body.eb-page-battery-storage .eb-bat-spec-card--accent {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--pale-blue) 35%, #fff) 0%,
    #fff 100%
  );
  border-color: color-mix(in srgb, var(--ocean-blue) 22%, rgba(15, 23, 42, 0.08));
}

body.eb-page-battery-storage .eb-bat-cta {
  background: linear-gradient(180deg, #f1f5f9 0%, #e8eef5 100%);
  border-bottom: 0;
}

body.eb-page-battery-storage .eb-bat-faq .accordion-item {
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  border-radius: 0.85rem !important;
  overflow: hidden;
  background: #fff;
}

body.eb-page-battery-storage .eb-bat-faq .accordion-button {
  box-shadow: none !important;
  background: #fff;
  font-size: 1rem;
}

body.eb-page-battery-storage .eb-bat-faq .accordion-button:not(.collapsed) {
  background: color-mix(in srgb, var(--pale-blue) 38%, #fff);
  color: var(--black);
}

body.eb-page-battery-storage .eb-bat-faq .accordion-body {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

body.eb-page-battery-storage .eb-bat-tile__icon {
  width: 3rem;
  height: 3rem;
}

body.eb-page-battery-storage .eb-bat-pills .nav-link {
  color: var(--black);
  background: #fff;
  border: 2px solid rgba(15, 23, 42, 0.12);
  border-radius: 9999px;
}

body.eb-page-battery-storage .eb-bat-pills .nav-link:hover {
  border-color: rgba(15, 23, 42, 0.22);
}

body.eb-page-battery-storage .eb-bat-pills .nav-link.active {
  color: #fff;
  background: var(--ocean-blue);
  border-color: var(--black);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.18);
}

body.eb-page-battery-storage .eb-bat-path-num {
  width: 2.25rem;
  height: 2.25rem;
  font-size: 0.95rem;
  background: color-mix(in srgb, var(--ocean-blue) 12%, #fff);
  color: var(--ocean-blue);
}

body.eb-page-battery-storage .eb-bat-path-step {
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 3px 16px rgba(15, 23, 42, 0.05);
}

body.eb-page-battery-storage .eb-bat-split-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 22px rgba(15, 23, 42, 0.06);
}

body.eb-page-battery-storage .eb-bat-split-card--accent {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--pale-blue) 30%, #fff) 0%,
    #fff 100%
  );
  border-color: color-mix(in srgb, var(--ocean-blue) 16%, rgba(15, 23, 42, 0.08));
}

body.eb-page-battery-storage .eb-bat-quote-pillar {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

body.eb-page-battery-storage .eb-bat-quote-pillar:hover {
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.09);
  transform: translateY(-2px);
}

body.eb-page-battery-storage .eb-bat-mcs-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 6px 28px rgba(15, 23, 42, 0.07);
}

/* -----------------------------------------------------------------------------
 * Services overview — aligns with Solar PV / Battery storage pages
 * -------------------------------------------------------------------------- */

body.eb-page-services .memphis-bg::before,
body.eb-page-services .memphis-bg::after {
  opacity: 0.055;
}

body.eb-page-services .eb-svc-hero--dark {
  background: var(--eb-green-dark);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.eb-page-services .eb-svc-hero--dark h1,
body.eb-page-services .eb-svc-hero--dark .text-black {
  color: #fff !important;
}

body.eb-page-services .eb-svc-hero--dark .text-secondary {
  color: rgba(255, 255, 255, 0.88) !important;
}

body.eb-page-services .eb-svc-hero--dark .eb-svc-kicker {
  color: var(--eb-amber) !important;
}

body.eb-page-services .eb-svc-hero--dark .text-ocean-blue {
  color: var(--eb-amber) !important;
}

body.eb-page-services .eb-svc-hero--dark .memphis-button-secondary {
  border-color: rgba(255, 255, 255, 0.85);
}

body.eb-page-services .eb-svc-hero:not(.eb-svc-hero--dark) {
  background: linear-gradient(
    168deg,
    color-mix(in srgb, var(--pale-blue) 40%, #fff) 0%,
    #fff 55%,
    color-mix(in srgb, var(--sky-blue) 8%, #f8fafc) 100%
  );
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

body.eb-page-services .eb-svc-kicker {
  letter-spacing: 0.12em;
}

body.eb-page-services .eb-svc-section {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

body.eb-page-services .eb-svc-tile {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

body.eb-page-services a:hover .eb-svc-tile {
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
  transform: translateY(-3px);
}

body.eb-page-services .eb-svc-tile .ratio {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

body.eb-page-services .eb-svc-step-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 22px rgba(15, 23, 42, 0.05);
  padding: 1.5rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

body.eb-page-services .eb-svc-step-card:hover {
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.09);
  transform: translateY(-2px);
}

body.eb-page-services .eb-svc-step-num {
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: color-mix(in srgb, var(--ocean-blue) 14%, #fff);
  color: var(--ocean-blue);
}

body.eb-page-services .eb-svc-cta {
  background: linear-gradient(180deg, #f1f5f9 0%, #e8eef5 100%);
  border-bottom: 0;
}

body.eb-page-services .eb-svc-option-grid {
  align-items: stretch;
}

body.eb-page-services .eb-svc-option-card {
  border: 2px solid rgba(15, 23, 42, 0.1);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

body.eb-page-services .eb-svc-option-card:hover {
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

body.eb-page-services .eb-svc-option-card--featured {
  border-color: rgba(29, 78, 216, 0.35);
  box-shadow: 0 8px 28px rgba(29, 78, 216, 0.12);
}

body.eb-page-services .eb-svc-option-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* --- Contact page -------------------------------------------------------- */

body.eb-page-contact .eb-contact-hero__media {
  background: #e8eef5;
}

body.eb-page-contact .eb-contact-hero__media img {
  object-fit: cover;
  object-position: center;
}

@media (min-width: 992px) {
  body.eb-page-contact .eb-contact-sidebar {
    position: sticky;
    top: 6.5rem;
  }
}

body.eb-page-contact .eb-contact-form-card {
  box-shadow: 0 8px 36px rgba(15, 23, 42, 0.07);
}

/* === Conversion uplift additions ========================================== */

/* Global sticky CTA — visible on all pages with the include loaded */
.eb-sticky-cta {
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0));
}

@media (max-width: 991.98px) {
  body.eb-has-sticky-cta {
    padding-bottom: 5.25rem;
  }
}

/* Hero proof-points row */
.eb-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  font-size: 0.9rem;
}

.eb-hero-proof__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.eb-hero-proof__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 700;
}

/* Savings strip 3-card layout */
.eb-savings-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
}

.eb-savings-strip__card {
  background: #fff;
  border: 2px solid var(--black, #0b0f17);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 4px 4px 0 0 var(--black, #0b0f17);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.eb-savings-strip__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pale-blue, #e0f2fe);
  color: #0b0f17;
  margin-bottom: 0.5rem;
}

.eb-savings-strip__title {
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0;
}

.eb-savings-strip__text {
  color: #475569;
  margin: 0;
}

/* Benefit cards (Solar panels benefits, Why add a battery, etc.) */
.eb-benefit-card {
  background: #fff;
  border: 2px solid var(--black, #0b0f17);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 4px 4px 0 0 var(--black, #0b0f17);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.eb-benefit-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pale-blue, #e0f2fe);
  margin-bottom: 0.75rem;
}

/* How solar works visual flow */
.eb-solar-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  background: #fff;
  border: 2px solid var(--black, #0b0f17);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 4px 4px 0 0 var(--black, #0b0f17);
}

.eb-solar-flow__step {
  flex: 1 1 9rem;
  min-width: 9rem;
  text-align: center;
  padding: 0.75rem 0.5rem;
  border-radius: 0.75rem;
  background: var(--pale-blue, #e0f2fe);
  font-weight: 700;
  color: #0b0f17;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eb-solar-flow__arrow {
  align-self: center;
  font-weight: 800;
  color: #1d4ed8;
  font-size: 1.5rem;
}

.eb-solar-flow__step--battery {
  background: #fef3c7;
}

/* Comparison table */
.eb-compare-table {
  background: #fff;
  border: 2px solid var(--black, #0b0f17);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 4px 4px 0 0 var(--black, #0b0f17);
}

.eb-compare-table table {
  margin-bottom: 0;
}

.eb-compare-table thead th {
  background: #0b0f17;
  color: #fff;
  font-weight: 700;
  border: none;
}

.eb-compare-table tbody td,
.eb-compare-table tbody th {
  vertical-align: middle;
  padding: 1rem;
}

/* Brand chips */
.eb-brand-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border: 2px solid var(--black, #0b0f17);
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  color: #0b0f17;
  font-size: 0.95rem;
}

/* Suitability checklist card */
.eb-suitability-card {
  background: #fff;
  border: 2px solid var(--black, #0b0f17);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 4px 4px 0 0 var(--black, #0b0f17);
}

.eb-suitability-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.35rem 0;
}

.eb-suitability-card ul li::before {
  content: "✓";
  color: #1d4ed8;
  font-weight: 800;
  flex-shrink: 0;
}

/* FAQ direct-answer lead-in */
.eb-faq-lead {
  font-weight: 700;
  color: #0b0f17;
  display: block;
  margin-bottom: 0.35rem;
}

/* Multi-step wizard form ------------------------------------------------- */
.eb-wizard {
  position: relative;
}

.eb-wizard__steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.eb-wizard__step-dot {
  flex: 1;
  min-width: 4.5rem;
  text-align: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #eef2f7;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.eb-wizard__step-dot--active {
  background: #0b0f17;
  color: #fff;
}

.eb-wizard__step-dot--done {
  background: #1d4ed8;
  color: #fff;
}

.eb-wizard__panel[hidden] {
  display: none !important;
}

.eb-wizard__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.eb-wizard__nav .memphis-button,
.eb-wizard__nav .memphis-button-secondary {
  min-width: 9rem;
}

/* Choice tiles (interest selection step) */
.eb-choice-tile {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 2px solid var(--black, #0b0f17);
  border-radius: 0.75rem;
  padding: 1rem;
  background: #fff;
  cursor: pointer;
  height: 100%;
  transition: box-shadow 120ms ease, transform 120ms ease;
}

.eb-choice-tile:hover,
.eb-choice-tile:focus-within {
  box-shadow: 4px 4px 0 0 var(--black, #0b0f17);
  transform: translate(-2px, -2px);
}

.eb-choice-tile input[type="radio"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.eb-choice-tile__title {
  font-weight: 700;
  color: #0b0f17;
}

.eb-choice-tile__sub {
  color: #475569;
  font-size: 0.875rem;
  margin: 0;
}

/* When JS is off, show all wizard panels stacked */
.no-js .eb-wizard__panel[hidden] {
  display: block !important;
}

.no-js .eb-wizard__steps,
.no-js .eb-wizard__nav {
  display: none;
}

/* Outcome-focused testimonial extras */
.eb-testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #475569;
}

.eb-testimonial-meta__label {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.7rem;
  font-weight: 700;
  color: #0b0f17;
}

/* Homepage stats pills (placeholder metrics until real data) */
.eb-home-stats-pills__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0b0f17;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid color-mix(in srgb, var(--eb-green) 32%, transparent);
}

/* How it works — vertical timeline */
.eb-hiw-timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 52rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .eb-hiw-timeline {
    gap: 1.25rem;
  }
}

.eb-hiw-timeline__icon {
  width: 2.75rem;
  height: 2.75rem;
}

/* -----------------------------------------------------------------------------
 * Sales / service pages — Smart Energi Hub–inspired (clean corporate, navy + blue)
 * body.eb-page-sales on: solar-pv, battery-storage, cost guides, services, how-it-works
 * -------------------------------------------------------------------------- */

body.eb-page-sales .memphis-bg {
  background-color: var(--eb-sales-surface);
}

body.eb-page-sales .memphis-bg::before,
body.eb-page-sales .memphis-bg::after {
  display: none;
}

body.eb-page-sales .memphis-button {
  background: var(--eb-sales-blue);
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 4px 14px rgba(45, 98, 255, 0.35);
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 600;
  padding: 0.8rem 1.65rem;
}

body.eb-page-sales .memphis-button:hover {
  background: var(--eb-sales-blue-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(45, 98, 255, 0.4);
}

body.eb-page-sales .memphis-button-secondary {
  background: transparent;
  color: var(--eb-sales-blue);
  border: 2px solid var(--eb-sales-blue);
  border-radius: 0.5rem;
  box-shadow: none;
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 600;
}

body.eb-page-sales .memphis-button-secondary:hover {
  background: var(--eb-sales-blue-light);
  color: var(--eb-sales-navy);
  transform: none;
  box-shadow: none;
}

body.eb-page-sales .eb-sales-hero--dark .memphis-button-secondary,
body.eb-page-sales .eb-solar-pv-hero--dark .memphis-button-secondary,
body.eb-page-sales .eb-bat-hero--dark .memphis-button-secondary,
body.eb-page-sales .eb-svc-hero--dark .memphis-button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
  background: transparent;
}

body.eb-page-sales .eb-sales-hero--dark .memphis-button-secondary:hover,
body.eb-page-sales .eb-solar-pv-hero--dark .memphis-button-secondary:hover,
body.eb-page-sales .eb-bat-hero--dark .memphis-button-secondary:hover,
body.eb-page-sales .eb-svc-hero--dark .memphis-button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

body.eb-page-sales .memphis-card {
  border: 1px solid var(--eb-sales-card-border);
  border-radius: 1rem;
  box-shadow: var(--eb-sales-card-shadow);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

body.eb-page-sales .memphis-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(8, 3, 49, 0.12);
}

body.eb-page-sales .eb-benefit-card,
body.eb-page-sales .eb-solar-flow,
body.eb-page-sales .eb-compare-table,
body.eb-page-sales .eb-suitability-card,
body.eb-page-sales .eb-decision-card {
  border: 1px solid var(--eb-sales-card-border);
  border-radius: 1rem;
  box-shadow: var(--eb-sales-card-shadow);
}

body.eb-page-sales .eb-benefit-card:hover,
body.eb-page-sales .eb-solar-flow:hover {
  transform: none;
  box-shadow: 0 14px 40px rgba(8, 3, 49, 0.1);
}

body.eb-page-sales .eb-compare-table thead th {
  background: var(--eb-sales-navy);
}

body.eb-page-sales .eb-brand-chip {
  border: 1px solid var(--eb-sales-card-border);
  border-radius: 0.5rem;
  box-shadow: none;
  font-weight: 600;
}

body.eb-page-sales .eb-answer-summary {
  border: 1px solid color-mix(in srgb, var(--eb-sales-blue) 28%, #fff);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--eb-sales-blue-light) 55%, #fff);
  box-shadow: none;
}

body.eb-page-sales .eb-answer-summary .text-ocean-blue {
  color: var(--eb-sales-blue) !important;
}

body.eb-page-sales .text-ocean-blue,
body.eb-page-sales a.text-ocean-blue {
  color: var(--eb-sales-blue) !important;
}

body.eb-page-sales .eb-sales-kicker,
body.eb-page-sales .eb-solar-pv-kicker,
body.eb-page-sales .eb-bat-kicker,
body.eb-page-sales .eb-svc-kicker {
  color: var(--eb-sales-blue-light) !important;
  letter-spacing: 0.14em;
}

body.eb-page-sales .eb-sales-hero--dark,
body.eb-page-sales .eb-solar-pv-hero--dark,
body.eb-page-sales .eb-bat-hero--dark,
body.eb-page-sales .eb-svc-hero--dark {
  background: var(--eb-sales-navy);
  color: #fff;
  border-bottom: none;
}

body.eb-page-sales .eb-sales-hero--dark h1,
body.eb-page-sales .eb-sales-hero--dark .display-5,
body.eb-page-sales .eb-solar-pv-hero--dark h1,
body.eb-page-sales .eb-solar-pv-hero--dark .text-black,
body.eb-page-sales .eb-bat-hero--dark h1,
body.eb-page-sales .eb-bat-hero--dark .text-black,
body.eb-page-sales .eb-svc-hero--dark h1,
body.eb-page-sales .eb-svc-hero--dark .text-black {
  color: #fff !important;
}

body.eb-page-sales .eb-sales-hero-lead,
body.eb-page-sales .eb-sales-hero--dark .text-secondary,
body.eb-page-sales .eb-sales-hero--dark .lead,
body.eb-page-sales .eb-solar-pv-hero--dark .text-secondary,
body.eb-page-sales .eb-solar-pv-hero--dark .eb-solar-pv-list,
body.eb-page-sales .eb-bat-hero--dark .text-secondary,
body.eb-page-sales .eb-bat-hero--dark .eb-bat-list,
body.eb-page-sales .eb-svc-hero--dark .text-secondary {
  color: rgba(255, 255, 255, 0.88) !important;
}

body.eb-page-sales .eb-solar-pv-hero--dark .eb-solar-pv-kicker,
body.eb-page-sales .eb-solar-pv-hero--dark .text-ocean-blue,
body.eb-page-sales .eb-bat-hero--dark .eb-bat-kicker,
body.eb-page-sales .eb-bat-hero--dark .text-ocean-blue,
body.eb-page-sales .eb-svc-hero--dark .eb-svc-kicker,
body.eb-page-sales .eb-svc-hero--dark .text-ocean-blue {
  color: var(--eb-sales-blue-light) !important;
}

body.eb-page-sales .eb-sales-hero__media,
body.eb-page-sales .eb-solar-pv-hero__media,
body.eb-page-sales .eb-bat-hero__media {
  border-radius: 1rem;
  border: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

body.eb-page-sales .eb-solar-pv-section,
body.eb-page-sales .eb-bat-section,
body.eb-page-sales .eb-svc-section {
  border-bottom: 1px solid rgba(8, 3, 49, 0.06);
}

body.eb-page-sales .eb-surface-detail {
  background: #fff;
}

body.eb-page-sales .eb-surface-benefits {
  background: var(--eb-sales-surface);
}

body.eb-page-sales .eb-surface-benefits .text-secondary {
  color: var(--eb-sales-muted) !important;
}

body.eb-page-sales .eb-surface-process {
  background: var(--eb-sales-blue-light);
  color: var(--eb-sales-navy);
}

body.eb-page-sales .eb-surface-process .text-secondary {
  color: color-mix(in srgb, var(--eb-sales-navy) 65%, var(--eb-sales-muted)) !important;
}

body.eb-page-sales .eb-surface-process .text-ocean-blue,
body.eb-page-sales .eb-surface-process .text-black {
  color: var(--eb-sales-navy) !important;
}

body.eb-page-sales .eb-surface-trust {
  background: #fff;
  border-top: 1px solid rgba(8, 3, 49, 0.06);
}

body.eb-page-sales .eb-trust-banner {
  background: #fff;
}

body.eb-page-sales .eb-trust-banner h2 {
  color: var(--eb-sales-muted) !important;
}

body.eb-page-sales .eb-solar-pv-step-card,
body.eb-page-sales .eb-solar-pv-why-card,
body.eb-page-sales .eb-bat-step-card,
body.eb-page-sales .eb-bat-why-card,
body.eb-page-sales .eb-bat-tile,
body.eb-page-sales .eb-svc-step-card,
body.eb-page-sales .eb-svc-tile {
  border: 1px solid var(--eb-sales-card-border);
  box-shadow: var(--eb-sales-card-shadow);
}

body.eb-page-sales .eb-solar-pv-step-num,
body.eb-page-sales .eb-bat-step-num,
body.eb-page-sales .eb-svc-step-num {
  background: var(--eb-sales-blue-light);
  color: var(--eb-sales-blue);
  border-radius: 0.5rem;
  font-variant-numeric: tabular-nums;
}

body.eb-page-sales .eb-solar-pv-metrics.eb-solar-accent-amber {
  background: var(--eb-sales-blue-light);
  color: var(--eb-sales-navy);
  border-bottom: 1px solid rgba(8, 3, 49, 0.08);
}

body.eb-page-sales .eb-solar-pv-metrics.eb-solar-accent-amber .text-secondary,
body.eb-page-sales .eb-solar-pv-metrics.eb-solar-accent-amber .fs-5 {
  color: var(--eb-sales-muted) !important;
}

body.eb-page-sales .eb-solar-pv-metrics.eb-solar-accent-amber .eb-solar-pv-stat__value {
  color: var(--eb-sales-blue);
}

body.eb-page-sales .eb-solar-pv-stat__value {
  color: var(--eb-sales-blue);
}

body.eb-page-sales .eb-battery-accent-blue {
  background: var(--eb-sales-navy);
  color: var(--eb-sales-blue-light);
}

body.eb-page-sales .eb-svc-option-card--featured {
  border-color: color-mix(in srgb, var(--eb-sales-blue) 45%, #fff);
  box-shadow: 0 12px 40px rgba(45, 98, 255, 0.15);
}

body.eb-page-sales .eb-svc-option-badge {
  background: var(--eb-sales-blue) !important;
  color: #fff !important;
  border: none !important;
}

body.eb-page-sales .eb-surface-closer,
body.eb-page-sales .eb-sales-closer {
  background: var(--eb-sales-navy);
  color: #fff;
  border: none;
}

body.eb-page-sales .eb-surface-closer .display-6,
body.eb-page-sales .eb-surface-closer .h4,
body.eb-page-sales .eb-surface-closer h2,
body.eb-page-sales .eb-sales-closer .display-6,
body.eb-page-sales .eb-sales-closer .h4,
body.eb-page-sales .eb-sales-closer h2 {
  color: #fff !important;
}

body.eb-page-sales .eb-surface-closer .text-black,
body.eb-page-sales .eb-sales-closer .text-black {
  color: #fff !important;
}

body.eb-page-sales .eb-surface-closer .text-secondary,
body.eb-page-sales .eb-surface-closer .fs-5,
body.eb-page-sales .eb-surface-closer .small,
body.eb-page-sales .eb-sales-closer-lead,
body.eb-page-sales .eb-sales-closer .text-secondary {
  color: rgba(255, 255, 255, 0.88) !important;
}

body.eb-page-sales .eb-surface-closer .memphis-button,
body.eb-page-sales .eb-sales-closer .memphis-button {
  background: var(--eb-sales-blue);
}

body.eb-page-sales .eb-sales-step-label {
  color: var(--eb-sales-blue) !important;
  letter-spacing: 0.08em;
  font-weight: 800;
}

body.eb-page-sales .eb-sticky-cta {
  border-top: 1px solid var(--eb-sales-card-border);
  box-shadow: 0 -8px 32px rgba(8, 3, 49, 0.08);
}

body.eb-page-sales .border-bottom.border-2.border-dark,
body.eb-page-sales .border.border-2.border-dark {
  border-color: rgba(8, 3, 49, 0.08) !important;
  border-width: 1px !important;
}

body.eb-page-sales .eb-bat-hero--dark .badge {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: rgba(255, 255, 255, 0.95) !important;
}
