/* ==============================================================================
   VICTRON ENERGY — PAGE-SPECIFIC STYLES (Layer 3)
   ==============================================================================

   Page-specific styles for the Victron Energy page. Foundation, header, and
   footer styles live in their own files. The .victron-packages-section block
   below uses its own component-local custom properties (--vp-*) for
   isolation — these don't conflict with foundation tokens.

   WORDPRESS PLACEMENT
   -------------------
   wp-content/themes/synergy/assets/css/pages/victron.css

   ENQUEUE (in functions.php):

       if ( is_page( 'victron-energy' ) ) {
           wp_enqueue_style(
               'synergy-victron',
               get_template_directory_uri() . '/assets/css/pages/victron.css',
               array( 'synergy-foundation' ),
               filemtime( get_template_directory() . '/assets/css/pages/victron.css' )
           );
       }

   STRUCTURE
   ---------
   This file consolidates TWO original <style> blocks from the source page:
     1. Main page styles (hero, key benefits, FAQ, financing, etc.)
     2. Scoped Victron packages section (.victron-packages-section namespace
        with its own --vp-* custom properties)

   The original developer kept these separate so the packages section's
   styles wouldn't collide with foundation/Tesla pricing-card classes.
   That isolation is preserved here — the .victron-packages-section block
   defines its own --vp-* tokens locally instead of using foundation tokens.

   LAYER 2 CANDIDATES (defer consolidation — used on other pages)
   --------------------------------------------------------------
     - .page-hero (also on About, Tesla, SigenStor, etc; 18 pages)
     - .trust-bar
     - .section, .section-light, .section-head, .eyebrow, .lede
     - .closing-cta
     - .why-grid, .why-card
     - .accreditations-grid, .accreditation-card
     - .pricing-grid (Tesla uses similar; could consolidate)

   PAGE-SPECIFIC (Layer 3)
   -----------------------
     - .victron-packages-section + .pkg-card, .pkg-header, .pkg-meta,
       .pkg-features (the 9-package layout)
     - .key-benefits-grid (Victron's specific benefits component)
     - .video-card (used in the "About Victron" section)
     - .about-stats (Victron's stats ribbon)
     - .floating-cta (scroll-aware button — same pattern as Tesla)

   CI COMPLIANCE
   -------------
   All colours updated to CI specification on 12 May 2026.

   ============================================================================== */

ul li, ol li { margin-bottom: 6px; }

/* ========== ANNOUNCEMENT BAR ========== */

.announcement-bar {
  background: linear-gradient(90deg, #1a2024 0%, #2d3940 50%, #3d4a23 100%);
  color: #fff;
  font-size: 13px;
  text-align: center;
  padding: 9px 20px;
  letter-spacing: 0.2px;
}

.announcement-bar svg { vertical-align: middle; margin-right: 6px; }

.announcement-bar strong { color: var(--yellow); font-weight: 700; }

/* ========== HEADER ========== */

/* ========== BREADCRUMB ========== */

/* ========== HERO (sub-page style) — rotating background ========== */

.page-hero {
  position: relative;
  background: #2d3940;        /* fallback colour while images decode */
  color: #fff;
  padding: 90px 0 100px;
  overflow: hidden;           /* clip overflow from animated layers */
  isolation: isolate;         /* establish stacking context for layers */
}

.page-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;          /* sit above background and overlay layers */
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--teal);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 22px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-badge svg { flex-shrink: 0; }

.page-hero h1 {
  color: #fff;
  max-width: 720px;
  margin-bottom: 18px;
}

.page-hero h1 strong { color: var(--yellow); font-weight: 700; }

.page-hero .hero-lede {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.95);
}

.hero-cta {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  border: 2px solid var(--teal);
  padding: 13px 30px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.hero-cta:hover {
  background: #fff;
  color: var(--teal);
  border-color: #fff;
}

/* ========== TRUST BAR ========== */

.trust-bar {
  background: #fff;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: center;
}

.trust-item {
  text-align: center;
  padding: 0 10px;
}

.trust-num {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 6px;
}

.trust-icon {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.trust-label {
  font-size: 12px;
  line-height: 1.4;
  color: var(--heading);
  font-weight: 600;
}

/* ========== SECTIONS ========== */

section { padding: 80px 0; }

.section-light { background: var(--light-bg); }

.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 30px;
}

.section-head { text-align: center; margin-bottom: 50px; }

.section-head .eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-head h2 { margin-bottom: 16px; }

.section-head h2 strong { color: var(--teal); font-weight: 700; }

.section-head .lede {
  max-width: 720px;
  margin: 0 auto;
  font-size: 15px;
  color: var(--text);
}

/* ========== INTRO + VIDEO (two-col) ========== */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.inline-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 12px;
}

.intro-lede {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 18px;
  color: var(--text);
}

.intro-text h2 strong { color: var(--teal); font-weight: 700; }

.intro-text h2 { margin-bottom: 16px; }

.intro-text ul { padding-left: 18px; }

.intro-text ul li { margin-bottom: 10px; }

.video-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--line);
}

.video-card video { width: 100%; height: auto; display: block; }

/* ========== PRODUCT FEATURES (image + benefits) ========== */

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.product-image {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
}

.product-image img { max-width: 360px; margin: 0 auto; }

.benefits h2 { margin-bottom: 16px; }

.benefits h2 strong { color: var(--teal); font-weight: 700; }

.benefits ul {
  list-style: none;
  padding: 0;
}

.benefits ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  line-height: 1.65;
}

.benefits ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ========== PRICING CARDS ========== */

.included-strip {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  padding: 18px 24px;
  margin: 0 auto 36px;
  max-width: 980px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.included-strip-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--heading);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  flex-shrink: 0;
}

.included-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  flex: 1;
}

.included-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
  color: var(--text);
}

.included-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
}

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

.pricing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.pricing-card img {
  max-height: 160px;
  width: auto;
  margin: 0 auto 18px;
  object-fit: contain;
}

.pricing-card h3 {
  font-size: 17px;
  margin-bottom: 14px;
  color: var(--heading);
  min-height: 50px;
}

.pricing-card ul {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  font-size: 13px;
}

.pricing-card ul li {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.pricing-card ul li:last-child { border-bottom: none; }

.pricing-card .blurb {
  font-size: 13px;
  font-style: italic;
  color: var(--text);
  margin-bottom: 18px;
  flex-grow: 1;
}

.pricing-card .price {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.pricing-card .price-vat {
  font-size: 11px;
  color: var(--text);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-card .card-cta {
  display: block;
  background: var(--green);
  color: #fff;
  padding: 11px 18px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--green);
  transition: all 0.2s;
}

.pricing-card .card-cta:hover {
  background: transparent;
  color: var(--green);
}

/* ========== APP / POWER IN HANDS SECTION ========== */

.app-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.app-text h2 strong { color: var(--teal); font-weight: 700; }

.app-text h2 { margin-bottom: 20px; }

.app-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 26px;
  margin-top: 22px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.app-block h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--heading);
}

.app-block h3 strong { color: var(--teal); }

.app-block p { font-size: 14px; line-height: 1.75; }

.app-block p strong { color: var(--heading); }

.app-images {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.app-images img {
  max-width: 100%;
  border-radius: 8px;
}

.cert-badge {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
}

/* ========== WHY POWERWALL 3 (7-card grid) ========== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 26px;
  text-align: left;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, transparent 50%),
    linear-gradient(135deg, rgba(180, 200, 87, 0.22) 0%, rgba(167, 190, 57, 0.14) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 1px 2px rgba(167, 190, 57, 0.18);
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:hover .why-icon {
  transform: scale(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 12px rgba(167, 190, 57, 0.28);
}

.why-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--brand-dark);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--heading);
}

.why-card p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* ========== KEY BENEFITS GRID ========== */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.benefit-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px 26px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(167, 190, 57, 0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.benefit-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--heading);
}

.benefit-card p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.product-image-strip {
  margin-top: 50px;
  text-align: center;
}

.product-image-strip img {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

/* ========== TESLA APP — 8-tile grid ========== */

.app-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.app-feature-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 22px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

.app-feature-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.app-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(167, 190, 57, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.app-feature-tile h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--heading);
}

.app-feature-tile p {
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
}

.app-cert-strip {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 22px 28px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.app-cert-strip img {
  max-height: 80px;
  width: auto;
  flex-shrink: 0;
}

.app-cert-strip p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  color: var(--text);
}

/* ========== FAQ ACCORDION ========== */

.faq-list { max-width: 880px; margin: 0 auto; }

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item[open] { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06); }

.faq-item summary {
  cursor: pointer;
  padding: 18px 24px;
  font-weight: 600;
  color: var(--heading);
  font-size: 15px;
  list-style: none;
  position: relative;
  padding-right: 50px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: var(--teal);
  transition: transform 0.2s;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item .faq-body {
  padding: 0 24px 20px;
  font-size: 14px;
  line-height: 1.75;
}

/* ========== TESTIMONIALS ========== */

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

.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.testimonial-card .stars {
  color: var(--yellow);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testimonial-card .quote {
  font-size: 14px;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 18px;
  color: var(--text);
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--heading);
  font-size: 14px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.testimonial-card .source {
  font-size: 12px;
  color: var(--text);
}

/* ========== ACCREDITATIONS GRID ========== */

.accreditations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.accreditation-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 22px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.accreditation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.accreditation-logo {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  padding: 8px;
}

.accreditation-logo img {
  max-height: 90px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.accreditation-logo svg {
  max-height: 90px;
  max-width: 100%;
  width: auto;
  height: auto;
}

.accreditation-tesla {
  background: var(--light-bg);
  border-radius: 6px;
}

.accreditation-placeholder {
  background: linear-gradient(135deg, rgba(167, 190, 57, 0.12) 0%, rgba(142, 162, 48, 0.18) 100%);
  border: 1.5px dashed var(--teal);
  border-radius: 6px;
  flex-direction: column;
  gap: 4px;
}

.accreditation-placeholder .placeholder-mark {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--teal-dark);
  letter-spacing: 1px;
  line-height: 1;
}

.accreditation-placeholder .placeholder-tbc {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal-dark);
  opacity: 0.7;
}

.accreditation-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--heading);
}

.accreditation-card p {
  font-size: 13px;
  line-height: 1.65;
  margin: 0;
  color: var(--text);
  flex-grow: 1;
}

/* ========== TECHNICAL SPECS ========== */

.specs-wrap {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.specs-table thead tr th {
  background: var(--navy);
  color: #fff;
  text-align: left;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.specs-table tbody tr {
  border-bottom: 1px solid var(--line);
}

.specs-table tbody tr:last-child { border-bottom: none; }

.specs-table tbody tr:nth-child(even) { background: var(--light-bg); }

.specs-table td {
  padding: 12px 24px;
  vertical-align: top;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--heading);
  width: 40%;
}

.specs-footnote {
  max-width: 920px;
  margin: 18px auto 0;
  font-size: 13px;
  font-style: italic;
  color: var(--text);
  text-align: center;
}

/* ========== INSTALLATION PROCESS ========== */

.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.process-list li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 28px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  margin-bottom: 0;
  transition: transform 0.3s, box-shadow 0.3s;
}

.process-list li:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.process-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--brand);
  line-height: 1;
  transition: color 0.3s, transform 0.3s;
}

.process-list li:hover .process-num {
  color: var(--brand-dark);
  transform: translateX(-2px);
}

.process-list h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--heading);
  padding-right: 56px;
}

.process-list p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* ========== LOAD SHEDDING ========== */

.loadshedding-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: start;
}

.loadshedding-text h2 strong { color: var(--teal); font-weight: 700; }

.loadshedding-text h2 { margin-bottom: 16px; }

.loadshedding-text > p {
  font-size: 15px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.loadshed-feature {
  display: flex;
  gap: 18px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.loadshed-feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(167, 190, 57, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loadshed-feature h3 {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--heading);
}

.loadshed-feature p {
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.loadshedding-aside {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: sticky;
  top: 110px;
}

.aside-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 6px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.aside-stat {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}

.aside-label {
  font-size: 12px;
  color: var(--text);
  line-height: 1.4;
  font-weight: 600;
}

/* ========== EV CHARGING ========== */

.ev-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
}

.ev-grid h2 strong { color: var(--teal); font-weight: 700; }

.ev-grid h2 { margin-bottom: 16px; }

.ev-grid > div > p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.ev-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ev-points li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.65;
}

.ev-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px 11px;
  background-position: center;
  background-repeat: no-repeat;
}

.ev-aside {
  background: linear-gradient(135deg, var(--navy) 0%, #8ea230 100%);
  border-radius: 10px;
  padding: 36px 30px;
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.ev-aside h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 12px;
}

.ev-aside p {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.92);
}

.ev-aside-btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy) !important;
  padding: 13px 26px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--yellow);
  transition: all 0.2s;
}

.ev-aside-btn:hover {
  background: #fff;
  color: var(--navy) !important;
  border-color: #fff;
}

/* ========== COMPARISON TABLE ========== */

.comparison-wrap {
  max-width: 1100px;
  margin: 0 auto;
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 720px;
}

.comparison-table thead th {
  background: var(--light-bg);
  color: var(--heading);
  text-align: left;
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 2px solid var(--line);
}

.comparison-table thead th.highlight-col {
  background: var(--teal);
  color: #fff;
}

.comparison-table tbody td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
}

.comparison-table tbody tr:last-child td { border-bottom: none; }

.comparison-table tbody tr:nth-child(even) td:not(.highlight-col) { background: rgba(244, 247, 248, 0.5); }

.comparison-table td.highlight-col {
  background: rgba(167, 190, 57, 0.12);
  font-weight: 600;
  color: var(--heading);
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--heading);
  width: 26%;
}

.comparison-footnote {
  max-width: 1100px;
  margin: 18px auto 0;
  font-size: 13px;
  font-style: italic;
  color: var(--text);
  text-align: center;
  line-height: 1.6;
}

/* ========== WARRANTY GRID ========== */

.warranty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.warranty-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 28px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}

.warranty-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.warranty-icon {
  width: 60px;
  height: 60px;
  background: rgba(167, 190, 57, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.warranty-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--heading);
}

.warranty-card p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* ========== WHY SYNERGY (8-card differentiator grid) ========== */

.synergy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.synergy-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.synergy-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--brand-light);
}

.synergy-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, transparent 50%),
    linear-gradient(135deg, rgba(180, 200, 87, 0.22) 0%, rgba(167, 190, 57, 0.14) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 1px 2px rgba(167, 190, 57, 0.18);
  transition: transform 0.3s, box-shadow 0.3s;
}

.synergy-card:hover .synergy-icon {
  transform: scale(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 10px rgba(167, 190, 57, 0.28);
}

.synergy-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--brand-dark);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.synergy-card h3 {
  font-size: 16px;
  margin: 0;
  color: var(--heading);
  line-height: 1.3;
}

.synergy-card p {
  font-size: 13.5px;
  line-height: 1.65;
  margin: 0;
  color: var(--text);
}

.synergy-cta {
  text-align: center;
  margin-top: 36px;
}

/* ========== FINANCING ========== */

.finance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.finance-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 28px 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.finance-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--brand-gradient);
}

.finance-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}

.finance-card .finance-tag {
  display: inline-block;
  background: rgba(167, 190, 57, 0.12);
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
}

.finance-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--heading);
}

.finance-card p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.finance-card .finance-highlight {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-dark);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 18px;
}

.finance-cta {
  text-align: center;
  margin-top: 36px;
}

.finance-note {
  text-align: center;
  font-size: 13px;
  color: var(--text);
  font-style: italic;
  max-width: 720px;
  margin: 24px auto 0;
}

/* ========== RELATED SOLUTIONS (cross-sell) ========== */

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.related-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px 24px 22px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  text-decoration: none;
  color: inherit;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
  border-color: var(--brand-light);
  color: inherit;
}

.related-card .related-tag {
  display: inline-block;
  background: rgba(167, 190, 57, 0.12);
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 14px;
  align-self: flex-start;
}

.related-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--heading);
  line-height: 1.3;
}

.related-card p {
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0 0 16px;
  color: var(--text);
  flex-grow: 1;
}

.related-card .related-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-dark);
  letter-spacing: 0.2px;
}

.related-card:hover .related-link {
  color: var(--brand);
}

.related-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.related-intro .lede {
  font-size: 15px;
  color: var(--text);
}

/* ========== ABOUT SYNERGY ========== */

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 strong { color: var(--teal); font-weight: 700; }

.about-text h2 { margin-bottom: 18px; }

.about-text p {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.about-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 8px;
}

.about-stat-label {
  font-size: 12px;
  color: var(--text);
  line-height: 1.4;
  font-weight: 600;
}

/* ========== INLINE CTA (mid-page) ========== */

.inline-cta {
  background: var(--teal-light);
  background: linear-gradient(135deg, rgba(180, 200, 87, 0.5) 0%, rgba(167, 190, 57, 0.35) 100%);
  border: 1px solid var(--teal-light);
  border-radius: 10px;
  padding: 30px 36px;
  margin: 50px auto 0;
  max-width: 980px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.inline-cta-text { flex: 1; min-width: 280px; }

.inline-cta-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 6px;
}

.inline-cta-text p {
  font-size: 14px;
  color: var(--text);
  margin: 0;
  line-height: 1.65;
}

.inline-cta-btn {
  flex-shrink: 0;
  background: var(--teal);
  color: #fff;
  border: 2px solid var(--teal);
  padding: 13px 28px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: all 0.2s;
}

.inline-cta-btn:hover {
  background: #fff;
  color: var(--teal);
}

/* ========== CLOSING CTA / QUOTE FORM SECTION ========== */

.closing-cta {
  background:
    linear-gradient(135deg, rgba(45, 57, 64, 0.95) 0%, rgba(142, 162, 48, 0.92) 100%),
    url('https://www.synergyenergy.co.za/wp-content/uploads/Tesla-Powerwall-3-scaled.jpg') center/cover no-repeat;
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle backdrop pattern for depth */

.closing-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.06) 0%, transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(255,255,255,0.04) 0%, transparent 40%);
  pointer-events: none;
}

.closing-cta .container { position: relative; z-index: 1; }

.closing-cta h2 {
  color: #fff;
  margin-bottom: 14px;
  font-size: 32px;
}

.closing-cta h2 strong { color: var(--accent-warn); }

.closing-cta > .container > p {
  max-width: 720px;
  margin: 0 auto 38px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.7;
}

/* Quote form wrap (white card on the dark CTA band) */

.quote-form-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  padding: 40px 44px 36px;
  text-align: left;
  box-shadow:
    0 24px 60px rgba(20, 28, 32, 0.32),
    0 8px 18px rgba(20, 28, 32, 0.18);
  color: var(--text);
}

.quote-form-header {
  text-align: center;
  margin-bottom: 30px;
}

.quote-form-header .quote-eyebrow {
  display: inline-block;
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}

.quote-form-header h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 8px;
  padding-bottom: 0;
}

.quote-form-header p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* Field rows */

.quote-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.quote-form-grid .full-row { grid-column: 1 / -1; }

.quote-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quote-field label {
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: 0.3px;
}

.quote-field label .req {
  color: var(--brand);
  margin-left: 2px;
}

.quote-field input[type="text"],
.quote-field input[type="tel"],
.quote-field input[type="email"],
.quote-field textarea {
  width: 100%;
  padding: 11px 14px;
  font: inherit;
  font-size: 14px;
  color: var(--heading);
  background: var(--bg-panel);
  border: 1.5px solid var(--line);
  border-radius: 7px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  font-family: 'Open Sans', sans-serif;
}

.quote-field textarea {
  min-height: 90px;
  resize: vertical;
}

.quote-field input:focus,
.quote-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(167, 190, 57, 0.15);
}

.quote-field input[aria-invalid="true"],
.quote-field textarea[aria-invalid="true"] {
  border-color: #c0392b;
  background: #fdf3f1;
}

.quote-field .field-error {
  font-size: 12px;
  color: #c0392b;
  margin-top: 2px;
  min-height: 16px;
}

/* Radio groups (bill range / contact time / package) */

.quote-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quote-radio-group .quote-radio-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quote-radio-options label {
  flex: 1;
  min-width: 120px;
  padding: 10px 14px;
  background: var(--bg-panel);
  border: 1.5px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.2px;
  position: relative;
}

.quote-radio-options input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.quote-radio-options label:has(input[type="radio"]:checked) {
  background: linear-gradient(135deg, rgba(180, 200, 87, 0.18) 0%, rgba(167, 190, 57, 0.12) 100%);
  border-color: var(--brand);
  color: var(--brand-dark);
  box-shadow: 0 0 0 1px var(--brand);
}

.quote-radio-options label:hover { border-color: var(--brand); color: var(--heading); }

/* Consent checkbox */

.quote-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.quote-consent input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--brand);
  margin-top: 2px;
  flex-shrink: 0;
}

.quote-consent[aria-invalid="true"] {
  color: #c0392b;
}

/* Submit + summary row */

.quote-form-footer {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.quote-submit {
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 50%, var(--brand-dark) 100%);
  color: #fff;
  border: 0;
  padding: 14px 38px;
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  box-shadow:
    0 6px 18px rgba(167, 190, 57, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.18s, box-shadow 0.18s;
  min-width: 240px;
}

.quote-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px rgba(167, 190, 57, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.quote-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.quote-form-trust {
  font-size: 12px;
  color: var(--ink-soft);
}

/* Honeypot — hidden from users */

.quote-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Error banner (form-wide) */

.quote-form-error {
  display: none;
  background: #fdf3f1;
  border: 1px solid #f5c6c1;
  color: #c0392b;
  padding: 12px 16px;
  border-radius: 7px;
  font-size: 13.5px;
  margin-bottom: 18px;
  text-align: center;
}

.quote-form-error.is-visible { display: block; }

/* Success state */

.quote-form-success {
  display: none;
  text-align: center;
  padding: 50px 30px;
}

.quote-form-success.is-visible { display: block; }

.quote-form-success .success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(167, 190, 57, 0.35);
}

.quote-form-success .success-icon svg {
  width: 36px;
  height: 36px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quote-form-success h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 12px;
  padding-bottom: 0;
}

.quote-form-success p {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 460px;
  margin: 0 auto 8px;
  line-height: 1.7;
}

.quote-form-success .success-meta {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 18px;
}

.quote-form-success .success-meta a {
  color: var(--brand-dark);
  font-weight: 600;
}

/* Direct-call alternative below the form */

.quote-alt {
  text-align: center;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.quote-alt strong { color: #fff; }

.quote-alt a {
  color: #fff;
  font-weight: 700;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
  padding-bottom: 1px;
}

.quote-alt a:hover { border-bottom-color: #fff; color: #fff; }

@media (max-width: 760px) {
  .quote-form-wrap { padding: 30px 20px 26px; }
  .quote-form-grid { grid-template-columns: 1fr; gap: 14px; }
  .quote-radio-options label { min-width: 0; }
  .quote-form-header h3 { font-size: 19px; }
  .closing-cta h2 { font-size: 26px; }
}

/* ========== FLOATING MOBILE CTA ========== */

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: #fff !important;
  padding: 13px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  border: 2px solid var(--teal);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  pointer-events: none;
}

.floating-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-cta:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff !important;
}

@media (max-width: 980px) {
  .floating-cta { display: inline-flex; }
}

/* ========== FOOTER ========== */

/* ========== INLINE PRODUCT PHOTOS (hero accent in side columns) ========== */

.section-photo {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  background: #f3f3f0;
}

.section-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.specs-photo {
  text-align: center;
  margin: 0 auto 36px;
  max-width: 480px;
}

.specs-photo img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

/* ========== ROTATING HERO BACKGROUND LAYERS ========== */

/* Each layer fills the hero, stacked at z-index 0, crossfaded via
   keyframe. 4 frames * 6s = 24s loop with ~1.2s crossfade overlap.
   Full-bleed cover so the install photo fills the hero — matches
   SigenStor / Tesla pattern. */

.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 0;
  animation: hero-rotate 24s infinite;
  will-change: opacity;
}

.hero-bg-1 { background-image: url('/wp-content/uploads/Victron-5.jpeg'); animation-delay: 0s; }

.hero-bg-2 { background-image: url('/wp-content/uploads/Victron-1.webp'); animation-delay: -18s; }

.hero-bg-3 { background-image: url('/wp-content/uploads/Victron-4.webp'); animation-delay: -12s; }

.hero-bg-4 { background-image: url('/wp-content/uploads/Victron-2.webp'); animation-delay: -6s; }


@keyframes hero-rotate {
  /* 4 layers: each visible for ~25% of cycle. Fade in 0->5%, hold to
     20%, fade out to 25%, hidden until cycle restart. */
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  20%  { opacity: 1; }
  25%  { opacity: 0; }
  100% { opacity: 0; }
}

/* Olive-green gradient overlay layered above all rotating images.
   Stays constant while images rotate so headline text remains legible. */

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(167, 190, 57, 0.92) 0%,
    rgba(142, 162, 48, 0.78) 40%,
    rgba(45, 57, 64, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Respect reduced-motion preference: freeze on first image. */

@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
  .hero-bg-1 { opacity: 1; }
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .app-features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .warranty-grid { grid-template-columns: repeat(2, 1fr); }
  .finance-grid { grid-template-columns: 1fr; }
  .synergy-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 12px; }
}

@media (max-width: 980px) {
  h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  section { padding: 60px 0; }
  .page-hero { padding: 70px 0 80px; }

  .intro-grid,
  .product-grid,
  .app-grid,
  .loadshedding-grid,
  .ev-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-grid,
  .warranty-grid,
  .finance-grid,
  .benefits-grid,
  .process-list { grid-template-columns: 1fr; }
  .app-features-grid { grid-template-columns: repeat(2, 1fr); }
  .members-strip { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .accreditations-grid { grid-template-columns: repeat(2, 1fr); }
  .loadshedding-aside { position: static; }
  .app-cert-strip { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .synergy-grid { grid-template-columns: 1fr; }
  .members-strip { grid-template-columns: repeat(2, 1fr); }
  .accreditations-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .app-features-grid { grid-template-columns: 1fr; }
  h1 { font-size: 26px; }
  h2 { font-size: 23px; }
  .page-hero { padding: 60px 0 70px; }
  .header-inner { padding: 0 20px; }
  .container, .container-narrow { padding: 0 20px; }
  .form-row-2 { grid-template-columns: 1fr; gap: 14px; }
  .inline-cta { padding: 24px 22px; flex-direction: column; align-items: stretch; text-align: center; }
  .inline-cta-btn { width: 100%; }
}



/* ============================================================================
   VICTRON PACKAGES SECTION (originally a separate scoped <style> block)
   Uses component-local --vp-* custom properties to avoid collisions with
   foundation tokens or other page styles.
   ============================================================================ */

/* === Victron package section — scoped block === */
.victron-packages-section {
  /* Override Open Sans body for this section's headings; rest of page stays Open Sans. */
  --vp-green-primary: #a7be39;   /* same olive as page brand */
  --vp-green-accent:  #d0eb4b;
  --vp-blue-primary:  #2672ab;
  --vp-dark:          #2c3e2f;
  --vp-text:          #444;
  --vp-muted:         #666;
  --vp-bg-soft:       #f7f9f0;
  --vp-shadow-sm:     0 4px 12px rgba(0,0,0,0.06);
  --vp-shadow-lg:     0 20px 50px rgba(0,0,0,0.12);
  --vp-radius-lg:     20px;

  background: linear-gradient(180deg, #fff 0%, var(--vp-bg-soft) 100%);
  padding: 80px 30px;
}
.victron-packages-section .container {
  max-width: 1280px;
  margin: 0 auto;
}
.victron-packages-section .section-head {
  text-align: center;
  margin-bottom: 60px;
}
.victron-packages-section .section-head h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(26px, 3.5vw, 38px);
  margin-bottom: 18px;
  font-weight: 600;
  color: var(--vp-dark);
  line-height: 1.3;
}
.victron-packages-section .section-head h2 strong {
  color: var(--vp-green-primary);
  font-weight: 800;
}
.victron-packages-section .section-head p {
  max-width: 780px;
  margin: 0 auto;
  color: var(--vp-muted);
  font-size: 16px;
  line-height: 1.7;
}

.victron-packages-section .packages-tiers {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 10px; margin-top: 28px;
}
.victron-packages-section .tier-tag {
  background: #fff; color: var(--vp-dark);
  padding: 8px 20px; border-radius: 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500; font-size: 13px;
  border: 1.5px solid #e5e7eb;
}
.victron-packages-section .tier-tag strong {
  color: var(--vp-green-primary);
}

.victron-packages-section .packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.victron-packages-section .pkg {
  background: #fff;
  border-radius: var(--vp-radius-lg);
  overflow: hidden;
  box-shadow: var(--vp-shadow-sm);
  display: flex; flex-direction: column;
  transition: all 0.35s ease;
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  margin: 0;
}
.victron-packages-section .pkg:hover {
  transform: translateY(-8px);
  box-shadow: var(--vp-shadow-lg);
  border-color: var(--vp-green-accent);
}

.victron-packages-section .pkg-badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--vp-green-accent); color: var(--vp-dark);
  font-family: 'Poppins', sans-serif;
  font-size: 11px; font-weight: 700;
  padding: 6px 14px; border-radius: 30px;
  letter-spacing: 0.5px; text-transform: uppercase;
  z-index: 2;
}
.victron-packages-section .pkg-badge.popular {
  background: var(--vp-blue-primary); color: #fff;
}
.victron-packages-section .pkg-badge.premium {
  background: linear-gradient(135deg, #1a1a1a, #333);
  color: var(--vp-green-accent);
}

.victron-packages-section .pkg-header {
  padding: 32px 30px 20px;
  background: linear-gradient(135deg, var(--vp-dark) 0%, #1a1a1a 100%);
  color: #fff; position: relative;
}
.victron-packages-section .pkg-tier {
  font-family: 'Poppins', sans-serif;
  font-size: 11px; color: var(--vp-green-accent);
  letter-spacing: 2px; text-transform: uppercase;
  font-weight: 600; margin-bottom: 8px;
}
.victron-packages-section .pkg h3 {
  color: #fff; font-size: 22px;
  margin-bottom: 6px; font-weight: 700;
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
}
.victron-packages-section .pkg-capacity {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.victron-packages-section .pkg-body {
  padding: 28px 30px;
  flex: 1;
  display: flex; flex-direction: column;
}
.victron-packages-section .pkg-specs {
  list-style: none; padding: 0; margin: 0 0 22px;
}
.victron-packages-section .pkg-specs li {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  margin: 0;
}
.victron-packages-section .pkg-specs li:last-child {
  border-bottom: 0;
}
.victron-packages-section .pkg-specs .spec-label {
  color: var(--vp-muted); font-weight: 500;
}
.victron-packages-section .pkg-specs .spec-val {
  color: var(--vp-dark); font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-align: right;
}

.victron-packages-section .pkg-ideal {
  background: var(--vp-bg-soft);
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 22px;
  font-size: 13px; line-height: 1.5;
  border-left: 3px solid var(--vp-green-primary);
  color: var(--vp-text);
}
.victron-packages-section .pkg-ideal strong {
  color: var(--vp-green-primary);
}

.victron-packages-section .pkg-cta {
  margin-top: auto;
}
.victron-packages-section .pkg-cta .pkg-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 20px;
  background: var(--vp-blue-primary);
  color: #fff !important;
  border: 2px solid var(--vp-blue-primary);
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: 14px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}
.victron-packages-section .pkg-cta .pkg-btn:hover {
  background: var(--vp-dark);
  border-color: var(--vp-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(44, 62, 47, 0.3);
}
.victron-packages-section .pkg-price-note {
  font-size: 12px; color: var(--vp-muted);
  text-align: center; margin-top: 10px;
}

@media (max-width: 768px) {
  .victron-packages-section { padding: 60px 20px; }
  .victron-packages-section .section-head { margin-bottom: 40px; }
  .victron-packages-section .section-head h2 { font-size: 24px; }
  .victron-packages-section .packages { grid-template-columns: 1fr; }
}

/* YouTube embed sizing for placeholder video in .video-card slot.
   Keeps the iframe 16:9 inside the card until a hosted Synergy
   video replaces the YouTube embed. */
.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

/* ========== PREMIUM CTA POLISH (v15 §10.9 standard) ==========
   Pill corners + lime-tinted shadow + vertical lift on hover.
   Mirrors the polish landed on Deye/Sunsynk in v15. Styles
   .btn-primary (Book Your Free Site Assessment in Why Synergy)
   and .btn-hero (reserved for future hero variants). */

.btn-primary,
.btn-hero {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(167, 190, 57, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-hero:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(167, 190, 57, 0.42);
}

.btn-primary:active,
.btn-hero:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(167, 190, 57, 0.24);
}

.btn-primary:focus-visible,
.btn-hero:focus-visible {
  outline: 3px solid rgba(167, 190, 57, 0.45);
  outline-offset: 2px;
}

/* =========================================================
   INSTALLATION PROCESS — 7-step timeline
   (ported from sigenstor.css 2026-05-25 so Victron's install
   process matches the SigenStor layout)
   ========================================================= */

.install-steps {
  max-width: 820px;
  margin: 0 auto;
}

.install-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding-bottom: 32px;
  position: relative;
}

.install-step:last-child { padding-bottom: 0; }

.install-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 29px;
  top: 78px;
  width: 2px;
  height: calc(100% - 78px);
  background: linear-gradient(180deg, var(--brand-light) 0%, var(--line) 50%);
  opacity: 0.5;
  z-index: 1;
}

.install-step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b4c857 0%, #a7be39 50%, #8ea230 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow:
    0 4px 14px rgba(167, 190, 57, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.install-step-num::after {
  content: attr(data-step);
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: var(--brand);
  letter-spacing: 1.2px;
}

.install-step-num svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.install-step:hover .install-step-num {
  transform: scale(1.06);
  box-shadow:
    0 8px 20px rgba(167, 190, 57, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.install-step-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--heading);
  margin: 8px 0 6px;
  padding-bottom: 0;
}

.install-step-body p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

.install-cta-wrap {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 600px) {
  .install-step { grid-template-columns: 50px 1fr; gap: 18px; }
  .install-step-num { width: 50px; height: 50px; }
  .install-step-num svg { width: 24px; height: 24px; }
  .install-step-num::after { bottom: -20px; font-size: 10px; }
  .install-step:not(:last-child)::before { left: 24px; top: 50px; height: calc(100% - 50px); }
}

/* ==============================================================================
   CLIENT REVIEWS & TESTIMONIALS SECTION
   Added 2026-05-27 — static replacement for TrustIndex widget.
   ============================================================================== */

.reviews-aggregate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0 auto 40px;
  text-align: center;
}

.reviews-aggregate-stars {
  font-size: 2rem;
  color: #f5b800;
  letter-spacing: 4px;
}

.reviews-aggregate-rating {
  font-size: 1.3rem;
  color: #1a2429;
}

.reviews-aggregate-rating strong {
  font-size: 2rem;
  color: #a7be39;
}

.reviews-aggregate-count {
  color: #4a5568;
  font-size: 0.95rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: #f5b800;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-text {
  font-style: italic;
  color: #1a2429;
  line-height: 1.55;
  margin: 0 0 20px;
  flex-grow: 1;
  font-size: 0.95rem;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
}

.review-author {
  color: #1a2429;
  font-size: 1rem;
}

.review-tag {
  display: inline-block;
  background: #a7be39;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 3px;
  align-self: flex-start;
}

.review-date {
  color: #888;
  font-size: 0.85rem;
}

.reviews-cta {
  text-align: center;
  margin-top: 30px;
  color: #4a5568;
}

.reviews-cta a {
  color: #a7be39;
  font-weight: 700;
  text-decoration: none;
}

.reviews-cta a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}