/* ==============================================================================
   DEYE & SUNSYNK — PAGE-SPECIFIC STYLES (Layer 3)
   ==============================================================================

   Page-specific styles for the Deye & Sunsynk page. Foundation, header,
   and footer styles live in their own files. The source was built on
   the SigenStor template so many class names mirror that page.

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

   ENQUEUE (in functions.php):

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

   STRUCTURE
   ---------
   Sections covered by this CSS:
     - Page hero (rotating 6-image background — note the images are
       currently SigenStor placeholders, see content handover)
     - Why Deye & Sunsynk
     - Specs grid
     - Deye vs Sunsynk comparison
     - Battery partners section
     - Solutions grid
     - Comparison table
     - 4-step process
     - Financing
     - FAQ accordions
     - Why Synergy
     - Related products grid
     - Quote form section (CF7-ready)

   LAYER 2 CANDIDATES (defer consolidation — used on multiple pages)
   ------------------------------------------------------------------
     - .page-hero (also on About, Tesla, SigenStor, Victron, Comparison, PV)
     - .trust-bar
     - .section, .section-light, .section-head, .eyebrow, .lede
     - .closing-cta
     - .faq-list, .faq
     - .why-grid

   These will move to a shared components.css (Layer 2) after a few more
   product page conversions.

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

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

/* =========================================================
   DESIGN TOKENS  (matches SigenStor)
   ========================================================= */

/* =========================================================
   RESET / BASE
   ========================================================= */

*,*::before,*::after {box-sizing:border-box;margin:0;padding:0}

h1,h2,h3,h4,h5,h6 {
  font-family:'Open Sans',Arial,sans-serif;
  color:var(--heading);
  line-height:1.25;
  font-weight:600;
}

h2 strong {color:var(--brand);font-weight:700}

p:last-child {margin-bottom:0}

ul,ol {padding-left:22px;margin-bottom:1em}

/* =========================================================
   UTILITIES — containers & sections
   ========================================================= */

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

/* SigenStor section pattern */

.section {padding:80px 0}

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

/* Backward-compat: keep old <section> default + .section-alt */

section {padding:80px 0}

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

/* SigenStor eyebrow / lede / section-head */

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

.lede {
  font-size:16px;
  line-height:1.7;
  color:var(--text);
  max-width:760px;
  margin:0 auto 36px;
}

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

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

/* Backward-compat aliases for existing markup */

.section-header {text-align:center;max-width:820px;margin:0 auto 50px}

.section-header h2 {margin-bottom:16px}

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

.section-lede {
  font-size:16px;
  line-height:1.7;
  color:var(--text);
  max-width:760px;
  margin:14px auto 0;
}

/* Skip link */

/* =========================================================
   BUTTONS — SigenStor style (square 3px, uppercase)
   ========================================================= */

.btn-hero {
  display:inline-block;
  background:var(--brand);
  color:#fff;
  border:2px solid var(--brand);
  padding:14px 32px;
  border-radius:3px;
  text-transform:uppercase;
  letter-spacing:0.5px;
  font-weight:700;
  font-size:14px;
  transition:all 0.2s;
  text-decoration:none;
}

.btn-hero:hover {background:#fff;color:var(--brand)}

.btn-white {
  display:inline-block;
  background:#fff;
  color:var(--ink);
  border:2px solid #fff;
  padding:14px 32px;
  border-radius:3px;
  text-transform:uppercase;
  letter-spacing:0.5px;
  font-weight:700;
  font-size:14px;
  transition:all 0.2s;
  text-decoration:none;
}

.btn-white:hover {background:transparent;color:#fff}

.btn-ghost-white {
  display:inline-block;
  background:transparent;
  color:#fff;
  border:2px solid #fff;
  padding:14px 32px;
  border-radius:3px;
  text-transform:uppercase;
  letter-spacing:0.5px;
  font-weight:700;
  font-size:14px;
  transition:all 0.2s;
  text-decoration:none;
}

.btn-ghost-white:hover {background:#fff;color:var(--ink)}

/* Backward-compat: keep .btn-secondary as outline button */

/* Header-style rounded pill button (used in nav "Get Quote") */

/* =========================================================
   PAGE HERO  (SigenStor pattern — rotating bg, 6 layers, 36s loop)
   ========================================================= */

.page-hero {
  position:relative;
  background:var(--ink);          /* fallback while images decode */
  color:#fff;
  padding:90px 0 100px;
  overflow:hidden;
  isolation:isolate;
}

/* 6-layer rotating background: 36s loop, 6s per image, ~1.2s crossfade
   Each layer's image is anchored RIGHT by default so the photographic subject
   sits in the right-hand visual zone (the text occupies the left).
   Per-layer overrides below let individual photos be nudged without touching JS. */

.hero-bg {
  position:absolute;
  inset:0;
  background-position:var(--bg-pos, right center);
  background-size:cover;
  background-repeat:no-repeat;
  background-color:var(--ink);
  opacity:0;
  z-index:0;
  animation:hero-rotate 36s infinite;
  will-change:opacity;
}

/* Per-layer animation timing */

.hero-bg-1 {animation-delay:0s}

.hero-bg-2 {animation-delay:-6s}

.hero-bg-3 {animation-delay:-12s}

.hero-bg-4 {animation-delay:-18s}

.hero-bg-5 {animation-delay:-24s}

.hero-bg-6 {animation-delay:-30s}

/* Per-layer position overrides — defaults to 'right center'.
   Tweak any individual layer here without touching the HTML.
   Examples: 'right center', '70% center', 'center', 'left center'. */

.hero-bg-1 {--bg-pos:right center}

.hero-bg-2 {--bg-pos:right center}

.hero-bg-3 {--bg-pos:right center}

.hero-bg-4 {--bg-pos:right center}

.hero-bg-5 {--bg-pos:right center}

.hero-bg-6 {--bg-pos:right center}

/* On very wide screens, pull subject slightly inboard so it doesn't drift off the edge */

@media(min-width:1600px) {
  .hero-bg{background-position:80% center}
  .hero-bg-1,.hero-bg-2,.hero-bg-3,
  .hero-bg-4,.hero-bg-5,.hero-bg-6{--bg-pos:80% center}
}

/* On mobile, narrow viewport means subject behind text would be lost — recentre */

@media(max-width:760px) {
  .hero-bg{background-position:center top}
  .hero-bg-1,.hero-bg-2,.hero-bg-3,
  .hero-bg-4,.hero-bg-5,.hero-bg-6{--bg-pos:center top}
}

@keyframes hero-rotate {
  /* 6 layers × 6s each. Each layer: fade in (3%), hold (13%), fade out (16%) */
  0%   {opacity:0}
  3%   {opacity:1}
  13%  {opacity:1}
  16%  {opacity:0}
  100% {opacity:0}
}

/* Olive-green gradient overlay sits ABOVE the rotating images */

.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;
}

.page-hero-inner {
  position:relative;
  z-index:2;
  max-width:1180px;
  margin:0 auto;
  padding:0 30px;
}

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

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

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

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

.hero-badge {
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  background:var(--brand);
  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);
}

@media(max-width:760px) {
  .page-hero{padding:70px 0 80px}
}

/* =========================================================
   TRUST BAR  (SigenStor pattern — sits between hero and content)
   ========================================================= */

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

.trust-bar-inner {
  max-width:1180px;
  margin:0 auto;
  padding:0 30px;
  display:flex;
  flex-wrap:wrap;
  gap:30px;
  justify-content:space-around;
  align-items:center;
}

.trust-item {
  font-size:13px;
  color:var(--ink-soft);
  font-weight:600;
  text-align:center;
}

.trust-item strong {
  color:var(--brand);
  display:block;
  font-size:18px;
  margin-bottom:2px;
  font-family:'Poppins',sans-serif;
}

/* Breadcrumb (SigenStor pattern) */

/* Backward-compat: keep old <ol> structure styled if still used */

/* Feature grid */

.feature-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}

.feature-card {background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);padding:28px;transition:all 0.25s ease}

.feature-card:hover {transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:var(--brand-primary-light)}

.feature-icon {width:48px;height:48px;border-radius:var(--radius-sm);background:var(--brand-gradient);display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.3rem;font-weight:700;font-family:var(--font-display);margin-bottom:18px}

.feature-card h3 {margin-bottom:10px}

.feature-card p {color:var(--ink-soft);margin-bottom:0;font-size:0.96rem}

/* =========================================================
   BENEFITS GRID  (SigenStor pattern — soft tinted icon panel)
   ========================================================= */

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

.benefit-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  padding:28px;
  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-card h3 {
  font-size:18px;
  margin-bottom:10px;
  color:var(--heading);
}

.benefit-card h3 strong {color:var(--brand)}

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

.benefit-icon {
  width:52px;
  height:52px;
  border-radius:12px;
  background:linear-gradient(135deg, rgba(180,200,87,0.16) 0%, rgba(167,190,57,0.08) 100%);
  color:var(--brand);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  transition:transform 0.25s ease, background 0.25s ease;
}

.benefit-icon svg {
  width:26px;
  height:26px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.benefit-card:hover .benefit-icon {
  background:linear-gradient(135deg, rgba(180,200,87,0.28) 0%, rgba(167,190,57,0.16) 100%);
  transform:scale(1.04);
}

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

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

/* Specs table */

table.specs {
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 2px 12px rgba(0,0,0,0.04);
  border:1px solid var(--line);
}

table.specs th,table.specs td {
  padding:14px 20px;
  text-align:left;
  border-bottom:1px solid var(--line);
  font-size:14px;
  line-height:1.5;
  color:var(--ink-soft);
}

table.specs th {
  background:var(--bg-panel);
  font-family:'Open Sans',sans-serif;
  font-weight:600;
  color:var(--heading);
  width:40%;
}

table.specs tr:last-child th,table.specs tr:last-child td {border-bottom:none}

/* Compare table */

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

table.compare {
  width:100%;
  border-collapse:collapse;
  min-width:640px;
}

table.compare thead {background:var(--brand-gradient)}

table.compare thead th {
  color:#fff;
  padding:16px 18px;
  text-align:left;
  font-family:'Open Sans',sans-serif;
  font-weight:600;
  font-size:14px;
  letter-spacing:0.3px;
}

table.compare tbody td,table.compare tbody th {
  padding:14px 18px;
  border-bottom:1px solid var(--line);
  font-size:14px;
  text-align:left;
  vertical-align:top;
  color:var(--ink-soft);
  line-height:1.5;
}

table.compare tbody th {
  background:var(--bg-panel);
  font-family:'Open Sans',sans-serif;
  font-weight:600;
  color:var(--heading);
}

table.compare tbody tr:last-child td,table.compare tbody tr:last-child th {border-bottom:none}

table.compare tbody tr:hover {background:rgba(167,190,57,0.04)}

/* Callout — softer SigenStor-like panel */

.callout {
  background:var(--bg-panel);
  border-left:4px solid var(--brand);
  padding:22px 26px;
  border-radius:0 8px 8px 0;
  margin:24px 0;
  color:var(--ink-soft);
  font-size:14px;
  line-height:1.7;
  box-shadow:0 2px 12px rgba(0,0,0,0.04);
}

.callout strong {color:var(--heading)}

.price-callout {
  background:#fff;
  border:1px solid rgba(167,190,57,0.3);
  border-radius:10px;
  padding:24px 28px;
  margin:24px 0;
  box-shadow:0 2px 12px rgba(0,0,0,0.04);
}

.price-callout h4 {color:var(--brand-dark);margin-bottom:8px;font-size:16px}

/* =========================================================
   PRICING GRID  (SigenStor pattern — tier-grouped cards)
   ========================================================= */

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

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

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

.pricing-card.featured {
  border-color:var(--brand);
  border-width:2px;
  box-shadow:0 8px 28px rgba(167,190,57,0.15);
}

.pricing-card.featured::before {
  content:"Most Popular";
  position:absolute;
  top:-12px;
  left:50%;
  transform:translateX(-50%);
  background:var(--brand-gradient);
  color:#fff;
  font-family:'Poppins',sans-serif;
  font-weight:600;
  font-size:11px;
  padding:5px 16px;
  border-radius:999px;
  letter-spacing:0.6px;
  text-transform:uppercase;
  white-space:nowrap;
  box-shadow:0 4px 10px rgba(167,190,57,0.3);
}

.pricing-card h3 {
  font-size:18px;
  margin-bottom:14px;
  color:var(--heading);
  font-weight:700;
}

.pricing-card h3 strong {color:var(--brand)}

.pricing-card h3 .pkg-sku {
  display:block;
  font-family:'Open Sans',sans-serif;
  font-size:12px;
  font-weight:500;
  color:var(--ink-soft);
  margin-top:4px;
  letter-spacing:0.2px;
}

.pricing-card .pricing-image {
  width:100%;
  aspect-ratio:1 / 1;
  background:linear-gradient(135deg, var(--ink) 0%, #1a2024 100%);
  border-radius:8px;
  margin-bottom:18px;
  box-shadow:0 8px 22px rgba(0,0,0,0.18);
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(255,255,255,0.55);
  font-size:11px;
  font-weight:500;
  letter-spacing:0.5px;
  text-transform:uppercase;
  text-align:center;
  padding:24px;
  position:relative;
  overflow:hidden;
}

.pricing-card .pricing-image::before {
  content:"⚡";
  position:absolute;
  font-size:48px;
  opacity:0.55;
  filter:saturate(0.4);
  top:50%;
  left:50%;
  transform:translate(-50%, -60%);
}

.pricing-card .pricing-image span {
  position:relative;
  z-index:1;
  margin-top:46px;
  color:rgba(255,255,255,0.6);
}

.pricing-card ul {
  list-style:none;
  padding:0;
  margin:0 0 14px;
}

.pricing-card ul li {
  padding:8px 0;
  border-bottom:1px solid var(--line);
  font-size:13.5px;
  color:var(--ink-soft);
  display:flex;
  justify-content:space-between;
  gap:12px;
  line-height:1.4;
}

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

.pricing-card ul li .spec-label {color:var(--muted);font-weight:500;flex-shrink:0}

.pricing-card ul li .spec-value {color:var(--heading);font-weight:600;text-align:right}

.pricing-card .pricing-suit {
  font-size:13px;
  color:var(--text);
  font-style:italic;
  margin-bottom:18px;
  line-height:1.6;
}

.pricing-price {
  margin-top:auto;
  padding-top:16px;
  border-top:2px solid var(--line);
}

.pricing-price .price-figure {
  font-family:'Poppins',sans-serif;
  font-size:26px;
  font-weight:700;
  color:var(--brand);
  display:block;
  margin-bottom:2px;
  letter-spacing:-0.3px;
}

.pricing-price .price-vat {
  font-size:12px;
  color:var(--text);
  display:block;
  margin-bottom:14px;
}

.pricing-price .btn-primary {
  width:100%;
  text-align:center;
  display:block;
}

@media(max-width:760px) {
  .pricing-grid{grid-template-columns:1fr;gap:18px}
  .pricing-card.featured::before{font-size:10px;padding:4px 14px}
}

/* Old .packages aliased to new pricing-grid for backward-compat (no markup uses it now) */

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

.package {background:#fff;border:1px solid var(--line);border-radius:10px;padding:28px;box-shadow:0 2px 12px rgba(0,0,0,0.04);display:flex;flex-direction:column}

/* =========================================================
   INSTALLATION STEPS  (SigenStor pattern — vertical stepped 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)}
}

/* Old .process classes kept as backward-compat aliases (no markup uses them now) */

.process {display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:28px}

.process-step {background:#fff;border:1px solid var(--line);border-radius:8px;padding:28px}

.process-num {width:52px;height:52px;border-radius:50%;background:var(--brand-gradient);color:#fff;display:flex;align-items:center;justify-content:center;font-family:'Poppins',sans-serif;font-weight:700;margin-bottom:16px}

/* Finance */

/* =========================================================
   FINANCING CARDS  (SigenStor pattern — 3 cards, brand-light top border)
   ========================================================= */

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

.financing-card {
  background:#fff;
  border:1px solid var(--line);
  border-top:4px solid var(--brand-light);
  border-radius:10px;
  padding:32px 28px;
  box-shadow:0 2px 12px rgba(0,0,0,0.04);
  display:flex;
  flex-direction:column;
  transition:transform 0.3s, box-shadow 0.3s, border-top-color 0.3s;
}

.financing-card:hover {
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(0,0,0,0.1);
  border-top-color:var(--brand);
}

.financing-card h3 {
  font-size:18px;
  font-weight:700;
  color:var(--brand-dark);
  margin:0 0 14px;
  padding-bottom:0;
}

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

.financing-card p:last-of-type {margin-bottom:0}

.financing-card .financing-tag {
  display:inline-block;
  font-family:'Poppins',sans-serif;
  font-size:11px;
  font-weight:600;
  letter-spacing:0.6px;
  text-transform:uppercase;
  color:var(--brand);
  background:rgba(167,190,57,0.1);
  padding:4px 10px;
  border-radius:3px;
  margin-bottom:14px;
  align-self:flex-start;
}

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

.financing-note {
  font-size:13px;
  color:var(--ink-soft);
  text-align:center;
  margin-top:12px;
  font-style:italic;
}

@media(max-width:980px) {
  .financing-grid{grid-template-columns:1fr;gap:18px}
}

/* Old .finance-* classes kept as backward-compat aliases */

.finance-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}

.finance-card {background:#fff;border:1px solid var(--line);border-top:4px solid var(--brand-light);border-radius:10px;padding:32px 28px;box-shadow:0 2px 12px rgba(0,0,0,0.04)}

/* =========================================================
   FAQ  (SigenStor pattern — clean white panels with +/− toggle)
   ========================================================= */

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

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

.faq-item[open] {
  border-color:rgba(167,190,57,0.3);
  box-shadow:0 4px 12px rgba(0,0,0,0.05);
}

.faq-item summary {
  padding:18px 24px;
  cursor:pointer;
  font-weight:600;
  color:var(--heading);
  list-style:none;
  position:relative;
  padding-right:50px;
  font-size:15px;
  line-height:1.5;
  transition:color 0.2s ease;
}

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

.faq-item summary:hover {color:var(--brand)}

.faq-item summary::after {
  content:"+";
  position:absolute;
  right:22px;
  top:50%;
  transform:translateY(-50%);
  font-size:22px;
  color:var(--brand);
  font-weight:400;
  transition:transform 0.2s ease;
  line-height:1;
}

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

.faq-item .faq-body {
  padding:0 24px 20px;
  color:var(--ink-soft);
  font-size:14px;
  line-height:1.7;
}

.faq-item .faq-body p:last-child {margin-bottom:0}

/* Backward-compat: old details.faq class name kept rendering with same look */

details.faq {
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  margin-bottom:12px;
  overflow:hidden;
}

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

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

details.faq summary::after {
  content:"+";
  position:absolute;
  right:22px;
  top:50%;
  transform:translateY(-50%);
  font-size:22px;
  color:var(--brand);
  font-weight:400;
  line-height:1;
}

details.faq[open] summary::after {content:"−"}

details.faq .faq-body {padding:0 24px 20px;color:var(--ink-soft);font-size:14px;line-height:1.7}

details.faq .faq-body p:last-child {margin-bottom:0}

/* Why grid */

/* Why Synergy alias — uses benefits-grid pattern from Step 5a */

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

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

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

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

.why-item h3 strong {color:var(--brand)}

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

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

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

/* Related */

/* Related cards */

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

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

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

.related-card h3 {
  margin-bottom:10px;
  color:var(--brand-dark);
  font-size:18px;
  font-weight:700;
}

.related-card p {
  color:var(--ink-soft);
  font-size:14px;
  line-height:1.7;
  flex:1;
  margin-bottom:18px;
}

.related-card .arrow {
  font-family:'Poppins',sans-serif;
  font-weight:600;
  color:var(--brand-dark);
  font-size:13px;
  letter-spacing:0.4px;
  text-transform:uppercase;
}

.related-card .arrow::after {
  content:" →";
  transition:transform 0.25s ease;
  display:inline-block;
}

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

.related-card:hover .arrow::after {transform:translateX(4px)}

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

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

/* =========================================================
   CLOSING CTA  (SigenStor pattern — dark, dramatic, full-width)
   ========================================================= */

.closing-cta {
  background:var(--brand-gradient), var(--ink);
  color:#fff;
  padding:80px 0;
  text-align:center;
  position:relative;
  overflow:hidden;
}

.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;
}

.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;
}

.closing-cta-buttons {
  display:inline-flex;
  flex-wrap:wrap;
  gap:14px;
  justify-content:center;
}

@media(max-width:600px) {
  .closing-cta-buttons{flex-direction:column;align-items:stretch;width:100%;max-width:340px;margin:0 auto}
  .closing-cta-buttons a{text-align:center}
}

/* Backward-compat: keep .cta-banner working if anything still uses it */

.cta-banner {background:var(--brand-gradient);border-radius:20px;padding:56px 48px;text-align:center;color:#fff;box-shadow:0 8px 24px rgba(45,57,64,0.10);margin:0 auto}

.cta-banner h2 {color:#fff;margin-bottom:14px}

.cta-banner p {color:rgba(255,255,255,0.92);font-size:1.08rem;max-width:640px;margin:0 auto 26px}

.cta-banner .btn-white {color:var(--brand-dark)}

/* =========================================================
   QUOTE FORM  (sits inside .closing-cta — white card on dark)
   ========================================================= */

.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:'Poppins',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:'Poppins',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) */

.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 input[type="radio"]:checked + span {
  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)}

.quote-radio-options label span.radio-pill {
  display:block;
  width:100%;
  height:100%;
  padding:0;
  margin:0;
  background:transparent;
  border:0;
}

/* 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;
}

/* Submit 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:'Poppins',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;
}

/* Form-wide error banner */

.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 — same wrap, swapped in via JS */

.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}

/* Anchor offset so smooth-scroll lands below the sticky header */

#get-quote {scroll-margin-top:80px}

@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}
}

/* Decision grid (Choose Deye / Choose Sunsynk) */

.decision-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin-top:32px;
}

.decision-card {
  background:#fff;
  border:1px solid var(--line);
  border-top:4px solid var(--brand-light);
  border-radius:10px;
  padding:32px 28px;
  box-shadow:0 2px 12px rgba(0,0,0,0.04);
  transition:transform 0.3s, box-shadow 0.3s, border-top-color 0.3s;
}

.decision-card:hover {
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(0,0,0,0.1);
  border-top-color:var(--brand);
}

.decision-card h3 {
  margin-bottom:14px;
  color:var(--brand-dark);
  font-size:18px;
  font-weight:700;
}

.decision-card > p {
  font-size:14px;
  line-height:1.7;
  color:var(--ink-soft);
}

.decision-card ul {
  list-style:none;
  padding:0;
  margin:18px 0 0;
}

.decision-card li {
  padding:10px 0 10px 26px;
  position:relative;
  font-size:14px;
  color:var(--ink-soft);
  border-bottom:1px solid var(--line);
  line-height:1.5;
}

.decision-card li:last-child {border-bottom:none}

.decision-card li::before {
  content:"";
  position:absolute;
  left:0;
  top:14px;
  width:14px;
  height:14px;
  background:var(--brand);
  border-radius:50%;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 7l2.5 2.5L10.5 5'/></svg>");
  background-size:14px 14px;
}

@media(max-width:760px) {
  .decision-grid{grid-template-columns:1fr;gap:18px}
}

/* Compare-section H3 sub-headings (numbered) */

.compare-h3 {
  display:flex;
  align-items:center;
  gap:14px;
  font-size:18px;
  font-weight:700;
  color:var(--heading);
  margin:48px 0 14px;
  padding-bottom:12px;
  border-bottom:1px solid var(--line);
}

.compare-h3 .num {
  flex-shrink:0;
  width:32px;
  height:32px;
  border-radius:50%;
  background:var(--brand-gradient);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  font-weight:700;
  font-family:'Poppins',sans-serif;
  box-shadow:0 4px 10px rgba(167,190,57,0.25);
}

/* Tier label (SigenStor pattern — used in pricing tiers + section sub-heads) */

.tier-label {
  font-family:'Poppins',sans-serif;
  font-size:20px;
  font-weight:600;
  color:var(--heading);
  margin:32px 0 18px;
  padding-bottom:8px;
  border-bottom:2px solid var(--brand-light);
}

.tier-label:first-of-type {margin-top:8px}

/* Battery partners */

/* Partner cards (battery partners) */

.partner-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin-top:28px;
}

.partner-card {
  background:#fff;
  border:1px solid var(--line);
  border-top:4px solid var(--brand-light);
  border-radius:10px;
  padding:32px 28px;
  box-shadow:0 2px 12px rgba(0,0,0,0.04);
  transition:transform 0.3s, box-shadow 0.3s, border-top-color 0.3s;
}

.partner-card:hover {
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(0,0,0,0.1);
  border-top-color:var(--brand);
}

.partner-card h3 {
  margin-bottom:6px;
  color:var(--brand-dark);
  font-size:18px;
  font-weight:700;
}

.partner-card .pair-tag {
  display:inline-block;
  background:rgba(167,190,57,0.1);
  color:var(--brand);
  font-family:'Poppins',sans-serif;
  font-size:11px;
  padding:4px 10px;
  border-radius:3px;
  margin-bottom:14px;
  font-weight:600;
  letter-spacing:0.6px;
  text-transform:uppercase;
}

.partner-card > p {
  font-size:14px;
  line-height:1.7;
  color:var(--ink-soft);
  margin-bottom:16px;
}

.partner-card ul {
  list-style:none;
  padding:0;
  margin:0;
}

.partner-card li {
  padding:10px 0 10px 26px;
  position:relative;
  font-size:14px;
  color:var(--ink-soft);
  border-bottom:1px solid var(--line);
  line-height:1.5;
}

.partner-card li:last-child {border-bottom:none}

.partner-card li strong {
  color:var(--heading);
  font-weight:600;
}

.partner-card li::before {
  content:"";
  position:absolute;
  left:0;
  top:14px;
  width:14px;
  height:14px;
  background:var(--brand);
  border-radius:50%;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><path fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 7l2.5 2.5L10.5 5'/></svg>");
  background-size:14px 14px;
}

@media(max-width:760px) {
  .partner-grid{grid-template-columns:1fr;gap:18px}
}

/* Footer */

/* =========================================================
   FOOTER  (SigenStor pattern — dark navy, accreditations row)
   ========================================================= */

.footer-about img,.footer-logo img {
  height:52px;
  filter:brightness(0) invert(1);
  margin-bottom:16px;
}

.footer-about p,.footer-col p {
  font-size:0.92rem;
  color:#9ea5aa;
  line-height:1.65;
}

.footer-address,.branch {
  font-size:0.9rem;
  line-height:1.6;
  font-style:normal;
  color:#9ea5aa;
  margin-bottom:14px;
}

.footer-address strong,.branch strong {
  color:#fff;
  display:block;
  margin-top:12px;
  margin-bottom:2px;
  font-family:var(--font-display);
  font-weight:600;
  font-size:0.92rem;
}

.footer-address strong:first-child,.branch:first-child strong {margin-top:0}

/* Accreditations row */

/* Backward-compat: keep .footer-col styling working */

.footer-col h3 {color:#fff;font-size:1rem;margin-bottom:18px;font-family:var(--font-display);font-weight:600}

/* =========================================================
   FLOATING CTA  (bottom-right pill, mobile/tablet only)
   ========================================================= */

.float-cta {
  position:fixed;
  right:16px;
  bottom:16px;
  z-index:90;
  background:var(--brand);
  color:#fff;
  padding:14px 22px;
  border-radius:50px;
  font-weight:700;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:0.5px;
  box-shadow:0 8px 24px rgba(0,0,0,0.25);
  text-decoration:none;
  display:none;
  font-family:var(--font-display);
}

@media(max-width:980px) {
  .float-cta.visible{display:inline-block}
}

.float-cta:hover {background:var(--brand-dark);color:#fff}

/* Print */

@media print {
  .btn,.page-hero .hero-bg,.cta-banner,.float-cta{display:none !important}
  .page-hero::before{display:none !important}
  .page-hero{background:#fff !important;color:#000 !important;padding:20px 0}
  .page-hero h1,.page-hero h1 strong,.page-hero .hero-lede{color:#000 !important}
  section{padding:20px 0}
  body{color:#000;font-size:12pt}
  a{color:#000;text-decoration:underline}
}


/* ===== Benefit icons (Why Deye & Sunsynk section) — render inline SVGs in pale-green icon boxes ===== */
.benefit-icon svg {
  width: 26px;
  height: 26px;
  stroke: #8ea230;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================================
   PREMIUM POLISH — CTA buttons (page-wide)
   Ported from sigenstor.css 2026-05-25 to give the Deye/Sunsynk
   page the same premium CTA feel as the SigenStor page:
   - Pill corners (radius 999px) instead of boxy 3px
   - Lime-tinted box-shadow that intensifies on hover
   - Subtle vertical lift on hover (translateY)
   - Softer letter-spacing, sentence case (no more shouty uppercase)
   - Smooth transitions across transform + shadow

   Light-bg variant covers the main olive CTAs (.btn-hero, .btn-primary).
   Dark-bg variant covers .btn-white / .btn-ghost-white inside the
   .closing-cta section.

   The existing colour rules higher in this file still apply (.btn-hero
   stays olive→white on hover, .btn-white stays white→transparent on
   hover, etc.). This block only adds the premium shape + motion.
   ========================================================= */

/* Primary CTAs on light backgrounds */
.btn-hero,
.btn-primary {
  padding: 14px 32px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(167, 190, 57, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease,
              background-color 0.2s ease, color 0.2s ease;
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
}

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

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

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

/* Buttons on dark backgrounds (closing-cta etc.) */
.btn-white,
.btn-ghost-white {
  padding: 14px 32px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.20);
  transition: transform 0.2s ease, box-shadow 0.2s ease,
              background-color 0.2s ease, color 0.2s ease;
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
}

.btn-white:hover,
.btn-ghost-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}

.btn-white:active,
.btn-ghost-white:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.btn-white:focus-visible,
.btn-ghost-white:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* =========================================================
   PRICING CARD IMAGES (Task 7)
   Premium dark-panel treatment for real product photos in
   pricing cards. Mirrors sigenstor.css pattern.
   The 5 Deye/Volta cards use Deye-Volta-Product-Image.jpeg,
   the 5 Sunsynk/Freedom Won cards use Sunsynk-E-Tower-Product-Image-.jpeg.
   Added 2026-05-25.
   ========================================================= */

.pricing-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(135deg, var(--ink) 0%, #1a2024 100%);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  display: block;
}

/* =========================================================
   RELATED GRID — 4-card cross-sell override
   (replaces the 3-col default with a balanced 4-card layout
   added 2026-05-25 after trimming cross-sell from 6 to 4)
   ========================================================= */

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

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

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

/* ==============================================================================
   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;
  }
}