/* ==========================================================================
   Figo Solar Energy — Vanilla CSS Design System
   ========================================================================== */

:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --green-50: #f0fdf4;
  --green-200: #bbf7d0;
  --green-500: #22c55e;
  --green-600: #1f723e;
  --green-700: #15803d;

  --red-500: #ef4444;
  --red-700: #b91c1c;

  --white: #ffffff;
  --black: #000000;

  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 12px 0 rgb(0 0 0 / 0.08);
  --shadow-lg: 0 10px 30px -5px rgb(0 0 0 / 0.15);
  --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.35);
}

/* ---- Reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset, 6rem);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9375rem;
}

th,
td {
  border: 1px solid var(--gray-200);
  padding: 0.5rem 0.75rem;
  text-align: left;
}

th {
  background: var(--gray-50);
  font-weight: 700;
  color: var(--gray-900);
}

@media (max-width: 640px) {
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
  line-height: 1.6;
}

svg {
  display: block;
}

/* ---- Layout ---- */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 3rem 0;
}

.section-gray {
  background: var(--gray-50);
}

@media (max-width: 640px) {
  .section.section-gray {
    padding: 2.75rem 0;
  }

  .section.section-gray .section-header {
    margin-bottom: 2rem;
  }

  .section.section-gray .grid {
    gap: 1rem;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h1,
.section-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900);
}

.section-header p {
  color: var(--gray-500);
  margin-top: 0.75rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .section-header h1,
  .section-header h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 640px) {
  .section-header h1,
  .section-header h2 {
    font-size: 1.2rem;
  }

  .section-header p {
    font-size: 0.75rem;
    margin-top: 0.5rem;
  }
}

.page-hero {
  padding: 3rem 0;
}

.page-hero .section-header {
  margin-bottom: 3rem;
}

.min-h-screen {
  min-height: 100vh;
}

/* ---- Grid helpers ---- */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
  .grid-2,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.grid-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .grid-split {
    grid-template-columns: 1fr 1fr;
  }
  .grid-split-3 {
    grid-template-columns: 2fr 1fr;
  }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .btn {
    white-space: normal;
    text-align: center;
  }
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-sm {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--green-600);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-700);
}

.btn-outline-white {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--gray-900);
}

.btn-outline-amber {
  border-color: var(--green-600);
  color: var(--green-600);
  background: transparent;
}
.btn-outline-amber:hover {
  background: var(--green-600);
  color: var(--white);
}

.btn-outline-gray {
  border-color: var(--gray-300);
  color: var(--gray-700);
  background: transparent;
}
.btn-outline-gray:hover {
  border-color: var(--amber-500);
  color: var(--amber-500);
}

.btn-outline-green {
  border-color: var(--green-500);
  /* color: var(--green-600); */
    color: white;
  background: var(--green-600);
}
.btn-outline-green:hover {
  background: var(--green-500);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--amber-600);
}
.btn-white:hover {
  background: var(--gray-100);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--amber-500);
  font-weight: 600;
  font-size: 0.9375rem;
  background: none;
  padding: 0;
}
.btn-link:hover {
  color: var(--amber-600);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-row.center {
  justify-content: center;
}

.btn-row.no-wrap {
  flex-wrap: nowrap;
}

.btn-row.no-wrap .btn {
  flex: 1 1 0;
  white-space: normal;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (max-width: 560px) {
  .btn-row.no-wrap {
    flex-direction: column;
  }

  .btn-row.no-wrap .btn {
    width: 100%;
  }
}

/* ---- Top Banner ---- */
.top-banner {
  background: var(--green-600);
  color: var(--white);
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
}

.top-banner-text {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-banner-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.top-banner a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  font-weight: 700;
  white-space: nowrap;
}

.top-banner a:hover {
  color: var(--amber-100);
}

.top-banner-cta {
  /* background: rgb(255 255 255 / 0.16); */
  padding: 0.2rem 0.625rem;
  border-radius: var(--radius-full);
  text-decoration: none !important;
}

.top-banner-cta:hover {
  /* background: rgb(255 255 255 / 0.26); */
  color: var(--white) !important;
}

.top-banner-divider {
  width: 1px;
  height: 0.75rem;
  background: rgb(255 255 255 / 0.3);
  flex-shrink: 0;
}

.top-banner-short {
  display: none;
}

@media (max-width: 640px) {
  .top-banner {
    font-size: 0.6875rem;
    padding: 0.375rem 0.5rem;
    gap: 0.25rem 0.4rem;
  }

  .top-banner-text {
    display: none;
  }

  .top-banner-full {
    display: none;
  }

  .top-banner-short {
    display: inline;
  }

  .top-banner-cta {
    padding: 0.1875rem 0.5rem;
  }

  .top-banner-icon {
    width: 0.8125rem;
    height: 0.8125rem;
  }

  .top-banner a {
    white-space: normal;
    text-align: center;
    gap: 0.25rem;
  }
}

/* ---- Navbar ---- */
#navbar-root {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand img {
  height: 2.5rem;
  width: auto;
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.navbar-brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

.navbar-brand-tagline {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--gray-500);
}

.navbar-brand .accent {
  color: inherit;
}

/* Nav CTAs keep the secondary (amber) color, unlike .btn-primary/.btn-outline-amber elsewhere */
.navbar .btn-primary {
  background: var(--amber-500);
}
.navbar .btn-primary:hover {
  background: var(--amber-600);
}
.navbar .btn-outline-amber {
  border-color: var(--amber-500);
  color: var(--amber-500);
}
.navbar .btn-outline-amber:hover {
  background: var(--amber-500);
  color: var(--white);
}

/* "Calculate My System Size" keeps the secondary (amber) color */
#about-cta-row .btn-primary {
  background: var(--amber-500);
}
#about-cta-row .btn-primary:hover {
  background: var(--amber-600);
}

/* "Try the Free Calculator" keeps the secondary (amber) color */
#not-sure-cta-row .btn-primary {
  background: var(--amber-500);
}
#not-sure-cta-row .btn-primary:hover {
  background: var(--amber-600);
}

/* "Calculate My System Size" keeps the secondary (amber/yellow) color */
#products-cta-row .btn-primary {
  background: var(--amber-500);
}
#products-cta-row .btn-primary:hover {
  background: var(--amber-600);
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: nowrap;
}

.navbar-links a {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 500;
  transition: color 0.15s ease;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--amber-500);
}

.navbar-links a.navbar-cta,
.navbar-links a.navbar-cta:hover {
  color: var(--white);
  flex-shrink: 0;
}

.navbar-links a.navbar-cta-outline {
  color: var(--amber-500);
  flex-shrink: 0;
}

.navbar-links a.navbar-cta-outline:hover {
  color: var(--white);
}

.navbar-mobile-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-toggle {
  padding: 0.5rem;
  color: var(--gray-700);
}

.navbar-mobile-menu {
  display: none;
  padding-bottom: 1rem;
  border-top: 1px solid var(--gray-100);
}

.navbar-mobile-menu.open {
  display: block;
}

.navbar-mobile-menu a {
  display: block;
  padding: 0.5rem 0;
  color: var(--gray-600);
  font-weight: 500;
}

.navbar-mobile-menu a:hover {
  color: var(--amber-500);
}

.navbar-mobile-menu a.navbar-cta-mobile {
  display: inline-flex;
  padding: 0.625rem 1.5rem;
  margin-top: 0.75rem;
  color: var(--white);
}

.navbar-mobile-menu a.navbar-cta-mobile:hover {
  color: var(--white);
}

.navbar-mobile-menu a.navbar-cta-mobile-outline {
  color: var(--amber-500);
}

.navbar-mobile-menu a.navbar-cta-mobile-outline:hover {
  color: var(--white);
}

@media (min-width: 1024px) {
  .navbar-links {
    display: flex;
  }
  .navbar-mobile-controls {
    display: none;
  }
}

@media (max-width: 640px) {
  .navbar-inner {
    height: 3.25rem;
  }

  .navbar-brand {
    gap: 0.3125rem;
  }

  .navbar-brand img {
    height: 1.75rem;
  }

  .navbar-brand-name {
    font-size: 0.9375rem;
  }

  .navbar-brand-tagline {
    font-size: 0.5rem;
  }

  .navbar-mobile-controls {
    gap: 0.125rem;
  }

  .navbar-mobile-controls .icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  .navbar-mobile-controls .cart-icon-link,
  .navbar-mobile-controls .navbar-toggle {
    padding: 0.375rem;
  }
}

.cart-icon-link {
  position: relative;
  padding: 0.5rem;
  color: var(--gray-600);
  display: inline-flex;
}

.cart-icon-link:hover {
  color: var(--amber-500);
}

.cart-badge {
  position: absolute;
  top: -0.125rem;
  right: -0.125rem;
  background: var(--amber-500);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* ---- Footer ---- */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
}

.footer-inner {
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.1rem;
}

.footer-brand-row img {
  height: 2.5rem;
  width: auto;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.footer-brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.footer-brand-tagline {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--gray-400);
}

/* About page intro card */
.about-intro-card {
  background: var(--green-50, #f0fdf4);
  border: 1px solid var(--green-100, #dcfce7);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.about-intro-card h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.about-intro-quote {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--gray-700);
  max-width: 40rem;
  margin: 0 auto 1rem;
  line-height: 1.6;
}

.about-intro-products {
  font-size: 0.875rem;
  color: var(--gray-500);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.7;
}

.about-intro-products strong {
  color: var(--gray-700);
}

.footer p {
  color: var(--gray-400);
  max-width: 28rem;
}

.footer h3 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-contact-item svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--gray-400);
}

.footer-contact-item .phone-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.footer-contact-item a[href^="mailto:"] {
  font-size: 1.125rem;
}

.footer a:hover {
  color: var(--amber-500);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  color: var(--gray-400);
}

.footer-social a:hover {
  color: var(--amber-500);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  color: var(--gray-500);
  font-size: 0.875rem;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
}

@media (max-width: 640px) {
  .hero {
    height: 460px;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.5);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  max-width: 40rem;
  line-height: 1.15;
  min-height: 5.75rem;
  max-height: 5.75rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  transition: opacity 0.4s ease;
}

.hero h1.is-fading {
  opacity: 0;
}

.hero h1 .accent {
  color: var(--amber-400);
}

/* Hero CTAs keep the secondary (amber) color, unlike .btn-primary elsewhere */
.hero .btn-primary {
  background: var(--amber-500);
}
.hero .btn-primary:hover {
  background: var(--amber-600);
}

.hero p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--gray-200);
  margin-bottom: 2rem;
  max-width: 36rem;
  min-height: 3.6rem;
  max-height: 3.6rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  transition: opacity 0.4s ease;
}

.hero p.is-fading {
  opacity: 0;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 1.625rem;
    margin-bottom: 0.625rem;
    min-height: 3.7375rem;
    max-height: 3.7375rem;
  }

  .hero p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    min-height: 2.8rem;
    max-height: 2.8rem;
  }

  .hero .btn-row {
    flex-wrap: nowrap;
    gap: 0.5rem;
    width: 80%;
  }

  .hero .btn-row .btn {
    flex: 1 1 0;
    padding: 0.5625rem 0.75rem;
    font-size: 0.75rem;
    white-space: nowrap;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.75rem;
    max-width: 58rem;
    min-height: 8.625rem;
    max-height: 8.625rem;
  }
  .hero p {
    font-size: 1.25rem;
    max-width: 48rem;
    min-height: 4rem;
    max-height: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero p,
  .hero h1 {
    transition: none;
  }
}

.page-banner {
  position: relative;
  height: 16rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.5);
}

.page-banner-inner {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.page-banner p {
  font-size: 1.125rem;
  color: var(--gray-200);
  max-width: 36rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .page-banner {
    height: 20rem;
  }
  .page-banner h1 {
    font-size: 3rem;
  }
}

.cta-image-band {
  position: relative;
  height: 16rem;
  background-size: cover;
  background-position: center;
}

.cta-image-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(245 158 11 / 0.2), transparent);
}

@media (min-width: 768px) {
  .cta-image-band {
    height: 24rem;
  }
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.card-hover:hover {
  box-shadow: var(--shadow-lg);
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: box-shadow 0.2s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--amber-50);
  color: var(--amber-500);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--gray-500);
  font-size: 0.875rem;
}

@media (max-width: 640px) {
  .feature-card {
    padding: 1rem;
  }

  .feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.625rem;
  }

  .feature-icon .icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  .feature-card h3 {
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
  }

  .feature-card p {
    font-size: 0.75rem;
  }
}

/* ---- Solar Financing ---- */
.financing-section {
  background: linear-gradient(180deg, var(--green-50, #f0fdf4) 0%, var(--white) 55%);
}

.financing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--green-700, var(--green-600));
  border: 1px solid var(--green-100, #dcfce7);
  box-shadow: var(--shadow-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.9rem 0.35rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.financing-eyebrow-new {
  background: var(--amber-500);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-full);
}

/* Step-by-step process list */
.financing-steps-list {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: financing-step;
}

.financing-steps-list::before {
  content: "";
  position: absolute;
  top: 2.125rem;
  bottom: 2.125rem;
  left: 1.125rem;
  width: 2px;
  background: var(--green-100, #dcfce7);
  z-index: 0;
}

.financing-steps-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
}

.financing-steps-list-number {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  background: var(--green-600);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.financing-steps-list h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.financing-steps-list p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Steps + media panel */
.financing-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
  background: var(--white);
  border-radius: var(--radius-lg, 1rem);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  overflow: hidden;
}

@media (min-width: 900px) {
  .financing-panel {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
}

.financing-panel-media {
  position: relative;
  min-height: 16rem;
}

.financing-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.financing-panel-body {
  padding: 2rem 2rem 2.5rem;
}

.financing-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.financing-microcopy {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-top: 0.875rem;
}

/* Product card */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
}

.product-card-media {
  position: relative;
  height: 12rem;
  background: var(--gray-100);
  overflow: hidden;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-media img {
  transform: scale(1.05);
}

.badge-featured {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--amber-500);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  text-transform: uppercase;
}

.product-card-body {
  padding: 1.25rem 1.25rem 0.5rem;
}

.product-card-brand {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--amber-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-card-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-top: 0.25rem;
  transition: color 0.15s ease;
}

.product-card:hover .product-card-body h3 {
  color: var(--gray-900);
}

.product-card-body .desc {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

.product-card-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

.product-card-link {
  color: var(--amber-500);
  font-size: 0.875rem;
  font-weight: 500;
}

.product-card-footer {
  padding: 0.5rem 1.25rem 1.25rem;
}

/* Pills / badges */
.pill {
  display: inline-block;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
}

.pill-amber {
  background: var(--amber-50);
  color: var(--amber-600);
}

.pill-green {
  background: var(--green-50);
  color: var(--green-700);
}

.pill-gray {
  background: var(--gray-100);
  color: var(--gray-600);
}

.pill-filter {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--gray-100);
  color: var(--gray-600);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.pill-filter:hover {
  background: var(--gray-200);
}

.pill-filter.active {
  background: var(--green-600);
  color: var(--white);
}

.pill-filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.pill-filter-row.tight {
  margin-bottom: 0.75rem;
}

/* ---- Product filter toolbar ---- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5rem 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.filter-group-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
}

.filter-select {
  padding: 0.625rem 2.5rem 0.625rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E")
    no-repeat right 0.875rem center / 0.9rem;
  appearance: none;
  color: var(--gray-900);
  font-size: 0.875rem;
  font-weight: 500;
  min-width: 12rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.filter-select:hover {
  border-color: var(--amber-300);
  box-shadow: var(--shadow-md);
}

.filter-select:focus {
  outline: none;
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px rgb(245 158 11 / 0.15);
}

@media (max-width: 640px) {
  .filter-group {
    width: 100%;
  }

  .filter-select {
    width: 100%;
    min-width: 0;
  }
}

.filter-result-count {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 1.75rem;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.pagination-btn {
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.625rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.pagination-btn:hover:not(:disabled) {
  background: var(--green-600);
  color: var(--white);
  border-color: var(--green-600);
}

.pagination-btn.active {
  background: var(--green-600);
  color: var(--white);
  border-color: var(--green-600);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-ellipsis {
  color: var(--gray-400);
  padding: 0 0.25rem;
}

.product-category-section {
  margin-bottom: 3.5rem;
}

.product-category-section:last-child {
  margin-bottom: 0;
}

.product-category-heading {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.product-category-heading h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

.product-category-count {
  font-size: 0.8125rem;
  color: var(--gray-400);
  font-weight: 500;
}

/* Result / check list */
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--green-600);
  font-size: 0.875rem;
}

.check-item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Product trust row (Featured Products) */
.product-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2.5rem;
  padding: 1.25rem 0 2rem;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 2rem;
}

.product-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 500;
}

.product-trust-item svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--green-600);
}

/* Featured products slider */
.product-teaser-slider {
  position: relative;
}

.product-teaser-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.product-teaser-arrow {
  position: static;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}

@media (min-width: 768px) {
  .product-teaser-slider {
    padding: 0 3.5rem;
  }

  .product-teaser-controls {
    position: absolute;
    inset: 0;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    pointer-events: none;
    z-index: 3;
  }

  .product-teaser-arrow {
    pointer-events: auto;
  }
}

.product-teaser-arrow:hover {
  background: var(--green-600);
  color: var(--white);
}

.product-teaser-arrow.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.product-teaser-arrow svg {
  width: 1.25rem;
  height: 1.25rem;
}

.product-teaser-viewport {
  overflow: hidden;
}

.product-teaser-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.4s ease;
  --visible-count: 1;
}

.product-teaser-track > * {
  flex: 0 0 calc((100% - (var(--visible-count) - 1) * 1.5rem) / var(--visible-count));
  min-width: 0;
}

@media (min-width: 768px) {
  .product-teaser-track {
    --visible-count: 2;
  }
}

@media (min-width: 1024px) {
  .product-teaser-track {
    --visible-count: 4;
  }
  .product-teaser-track.testimonial-track {
    --visible-count: 3;
  }
}

.product-teaser-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.product-teaser-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  background: var(--gray-200);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.product-teaser-dot.active {
  background: var(--green-600);
}

/* ---- Testimonials ---- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: var(--amber-400);
}

.stars svg {
  width: 1.25rem;
  height: 1.25rem;
}

.testimonial-card p.quote {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--gray-900);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ---- Pricing plans ---- */
.plan-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.plan-card.recommended {
  border-color: var(--green-600);
  box-shadow: 0 0 0 2px var(--green-600);
}

.plan-badge {
  background: var(--green-600);
  color: var(--white);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.375rem 0;
}

.plan-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.plan-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

.plan-tagline {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.25rem;
}

.plan-price-block {
  margin: 1rem 0 1.5rem;
}

.plan-price-label {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.plan-price {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--green-600);
}

.plan-features {
  flex: 1;
  margin-bottom: 2rem;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.plan-features li svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.plan-features li.included {
  color: var(--gray-700);
}

.plan-features li.included svg {
  color: var(--green-500);
}

.plan-features li.excluded {
  color: var(--gray-400);
}

.plan-features li.excluded svg {
  color: var(--gray-300);
}

/* ---- Solar System Packages section ---- */
.plans-section {
  background: var(--amber-50);
  border-top: 1px solid var(--amber-100);
  border-bottom: 1px solid var(--amber-100);
}

/* ---- Generator cost comparison tint ---- */
.section-tint {
  background: var(--amber-50);
}

/* ---- Results CTA band (dark, blends into footer) ---- */
.results-cta-band {
  background: var(--green-50);
  padding: 4rem 0;
  margin-top: 5rem;
}

.results-cta-band h2 {
  color: var(--gray-900);
}

.results-cta-band p {
  color: var(--gray-600);
}

.results-cta-band .btn-outline-white {
  border-color: var(--amber-500);
  color: var(--amber-600);
  background: transparent;
}
.results-cta-band .btn-outline-white:hover {
  background: var(--amber-500);
  color: var(--white);
}

/* ---- CTA band ---- */
.cta-band {
  background: var(--amber-500);
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-band p {
  color: var(--amber-100);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .cta-band h2 {
    font-size: 2.25rem;
  }
}

/* ---- Contact WhatsApp card ---- */
.contact-whatsapp-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--green-600);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.contact-whatsapp-card:hover {
  background: var(--green-700);
  transform: translateY(-1px);
}

.contact-whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.contact-whatsapp-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.contact-whatsapp-title {
  display: block;
  color: var(--white);
  font-weight: 700;
  font-size: 1.0625rem;
}

.contact-whatsapp-sub {
  display: block;
  color: var(--green-50);
  font-size: 0.8125rem;
  margin-top: 0.125rem;
}

.contact-whatsapp-arrow {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--white);
  flex-shrink: 0;
  margin-left: auto;
}

/* ---- FAQ ---- */
.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--gray-100);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 500;
  color: var(--gray-900);
  transition: background-color 0.15s ease;
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-toggle-more {
  text-align: center;
  margin-top: 2rem;
}

/* ---- Forms ---- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.25rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background: var(--white);
}

.form-field textarea {
  resize: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px rgb(245 158 11 / 0.25);
}

.form-success {
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.form-success svg {
  width: 4rem;
  height: 4rem;
  color: var(--green-500);
  margin: 0 auto 1rem;
}

.form-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--gray-600);
}

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.breadcrumbs a:hover {
  color: var(--amber-500);
}

.breadcrumbs .current {
  color: var(--gray-900);
}

/* ---- Stats ---- */
.stats-band {
  background: var(--gray-50);
  border-radius: 1rem;
  padding: 2rem;
}

@media (min-width: 768px) {
  .stats-band {
    padding: 3rem;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--amber-500);
}

@media (min-width: 768px) {
  .stat-value {
    font-size: 2.25rem;
  }
}

.stat-label {
  color: var(--gray-500);
  margin-top: 0.25rem;
}

/* ---- Product detail / cart / calculator specific ---- */
.spec-table {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}

.spec-row:nth-child(odd) {
  background: var(--gray-50);
}

.spec-row .label {
  color: var(--gray-600);
  font-weight: 500;
}

.spec-row .value {
  color: var(--gray-900);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
}

.qty-control button {
  padding: 0.25rem 0.625rem;
  color: var(--gray-500);
}

.qty-control button:hover {
  color: var(--amber-500);
}

.qty-control .value {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  min-width: 2rem;
  text-align: center;
}

#cart-items-list {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.cart-item {
  background: var(--white);
  border: none;
  border-bottom: 1px solid var(--gray-100);
  border-radius: 0;
  box-shadow: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: background-color 0.15s ease;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item:hover {
  background: var(--gray-50);
}

.cart-item-media {
  width: 6rem;
  height: 6rem;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray-100);
}

.cart-item-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-info .name {
  font-weight: 600;
  color: var(--gray-900);
}

.cart-item-info .name:hover {
  color: var(--amber-500);
}

.cart-item-info .category {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.125rem;
  text-transform: capitalize;
}

.cart-item-info .price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--amber-500);
  margin-top: 0.25rem;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.remove-btn {
  color: var(--gray-400);
}

.remove-btn:hover {
  color: var(--red-500);
}

.order-summary {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-offset, 6rem) + 1rem);
}

.order-summary h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  color: var(--gray-600);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.summary-total {
  border-top: 1px solid var(--gray-200);
  margin-top: 1rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  font-size: 1.125rem;
  font-weight: 700;
}

.empty-state {
  padding: 5rem 0;
  text-align: center;
}

.empty-state svg {
  width: 5rem;
  height: 5rem;
  color: var(--gray-300);
  margin: 0 auto 1.5rem;
}

.empty-state h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--gray-500);
  margin-bottom: 2rem;
}

/* Calculator */
.calc-trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.calc-setup-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.calc-setup-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.calc-type-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .calc-type-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.calc-type-card {
  text-align: left;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.calc-type-card:hover {
  border-color: var(--amber-400);
  box-shadow: var(--shadow-md);
}

.calc-type-card.selected {
  border-color: var(--amber-500);
  background: var(--amber-50);
  box-shadow: 0 0 0 1px var(--amber-500);
}

.calc-type-title {
  display: block;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.calc-type-desc {
  display: block;
  font-size: 0.8125rem;
  color: var(--gray-600);
}

.calc-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.calc-tab {
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--gray-200);
  color: var(--gray-700);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.calc-tab:hover {
  background: var(--gray-300);
  color: var(--gray-900);
}

.calc-tab.active {
  background: var(--green-600);
  color: var(--white);
}

.calc-coverage-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.calc-coverage-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
}

.calc-manual-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}

.calc-picker-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .calc-picker-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.calc-picker {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
  margin-bottom: 0;
}

.calc-picker-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-600);
  margin-bottom: 0.875rem;
}

.calc-picker-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.calc-picker-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.5rem 0.5rem 0.875rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-full);
  background: var(--gray-50);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-800);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.calc-picker-chip:hover {
  border-color: var(--amber-500);
  background: var(--amber-50);
}

.calc-picker-chip .chip-watt {
  color: var(--gray-500);
  font-size: 0.75rem;
  font-weight: 500;
}

.calc-picker-chip .chip-add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: var(--radius-full);
  background: var(--amber-500);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1;
}

.calc-picker-empty {
  color: var(--gray-500);
  font-size: 0.875rem;
  padding: 0.5rem 0;
}

.calc-row-remove {
  color: var(--gray-300);
  padding: 0.25rem;
  margin-left: 0.5rem;
}

.calc-row-remove:hover {
  color: var(--red-500);
}

.calc-empty-list {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--gray-500);
  font-size: 0.875rem;
}

.calc-reference-table {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-100);
}

.calc-reference-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}

.calc-reference-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--gray-600);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-50);
}

.calc-reference-row:last-child {
  border-bottom: none;
}

.calc-reference-row span:last-child {
  font-weight: 600;
  color: var(--gray-900);
}

.calc-info-section {
  margin-top: 5rem;
}

.calc-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .calc-layout {
    grid-template-columns: 2fr 1fr;
  }
}

.calc-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.calc-category-header {
  background: var(--gray-100);
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  font-weight: 700;
  color: var(--gray-800);
}

.calc-row {
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--gray-100);
}

.calc-row:last-child {
  border-bottom: none;
}

.calc-row-name {
  flex: 1;
  min-width: 0;
}

.calc-row-name .name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calc-row-name .watt {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.calc-row-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.calc-field {
  text-align: center;
}

.calc-field label {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}

.calc-wh {
  text-align: right;
  min-width: 4rem;
}

.calc-wh label {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}

.calc-wh .value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-900);
}

.results-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.results-panel-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.results-panel-split .results-card {
  height: 100%;
}

.results-card.compact {
  padding: 1.25rem;
}

.results-card.compact h3 {
  margin-bottom: 1rem;
}

.results-card.compact .calc-summary {
  padding: 0.75rem 0.875rem;
  margin-bottom: 1rem;
}

.results-card.compact #calc-results {
  gap: 0.75rem;
}

.results-card.compact .result-block {
  padding: 0.75rem;
}

@media (min-width: 768px) {
  .results-panel-split {
    grid-template-columns: 1fr 1fr;
  }
}

.calculator-flow {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#manual-kwh,
#manual-peak,
#gen-cost {
  max-width: 20rem;
}

.results-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}

.results-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

#calc-results {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  #calc-results {
    grid-template-columns: 1fr 1fr;
  }
  #calc-results .result-block.highlight {
    grid-column: 1 / -1;
  }
}

.result-block {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 0;
}

.result-block.highlight {
  background: var(--green-50);
  border-color: var(--green-200);
}

.result-block .label {
  font-size: 0.75rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.result-block.highlight .label {
  color: var(--green-700);
}

.result-block .big {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

.result-block .sub {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.result-block .mid {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

.result-block.highlight .big.cost {
  font-size: 1.125rem;
  color: var(--green-700);
}

.results-note {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 1rem;
}

.calc-summary {
  font-size: 0.9375rem;
  color: var(--gray-700);
  background: var(--green-50);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.calc-summary strong {
  color: var(--green-700);
}

.lead-capture-sub {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
}

.generator-result-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 0.75rem;
}

.generator-result-line .value {
  font-weight: 600;
  color: var(--gray-900);
}

.generator-payback {
  background: var(--amber-50);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--amber-700);
  line-height: 1.5;
}

.generator-payback strong {
  font-size: 1.125rem;
}

#generator-results {
  padding-top: 1rem;
}

/* ---- Why Solar / Generator cost slider ---- */
.gen-teaser-slider {
  position: relative;
}

.gen-teaser-slide {
  display: none;
  position: relative;
}

.gen-teaser-slide.active {
  display: block;
}

.gen-teaser-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  cursor: pointer;
  z-index: 3;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.gen-teaser-arrow:hover {
  background: var(--green-600);
  color: var(--white);
}

.gen-teaser-arrow.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.gen-teaser-arrow svg {
  width: 1.25rem;
  height: 1.25rem;
}

.gen-teaser-arrow-next {
  right: -0.5rem;
}

.gen-teaser-arrow-prev {
  left: -0.5rem;
}

.icon-credit {
  text-align: center;
  font-size: 0.6875rem;
  color: var(--gray-300);
}

.icon-credit a {
  color: var(--gray-400);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .gen-teaser-arrow {
    position: static;
    transform: none;
    margin: 0 auto 1.5rem;
  }
}

/* ---- Orbit layout (Why Choose Solar) ---- */
.orbit-wrap {
  --orbit-radius: 210px;
  position: relative;
  width: 500px;
  height: 500px;
  margin: 3.5rem auto 3rem;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  border-radius: var(--radius-full);
  background: var(--green-600);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 1.1875rem;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.orbit-center svg {
  width: 2.5rem;
  height: 2.5rem;
}

.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 145px;
  margin: -72.5px 0 0 -72.5px;
}

.orbit-bubble {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.125rem 0.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.orbit-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.orbit-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.orbit-icon-img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  flex-shrink: 0;
}

.orbit-bubble span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.3;
}

@media (max-width: 767px) {
  .orbit-wrap {
    --orbit-radius: 100px;
    width: 260px;
    height: 260px;
    margin: 2rem auto 1.5rem;
  }

  .orbit-center {
    width: 74px;
    height: 74px;
    gap: 0.125rem;
    font-size: 0.625rem;
  }

  .orbit-center svg {
    width: 1.25rem;
    height: 1.25rem;
  }

  .orbit-item {
    width: 72px;
    margin: -36px 0 0 -36px;
  }

  .orbit-bubble {
    padding: 0.375rem 0.25rem;
    gap: 0.2rem;
    border-radius: var(--radius-sm);
  }

  .orbit-icon,
  .orbit-icon-img {
    width: 1.5rem;
    height: 1.5rem;
  }

  .orbit-icon svg {
    width: 0.75rem;
    height: 0.75rem;
  }

  .orbit-bubble span {
    font-size: 0.5rem;
    line-height: 1.15;
  }
}

/* ---- Homepage generator teaser (refined variant) ---- */
.generator-teaser-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .generator-teaser-layout {
    grid-template-columns: 5fr 7fr;
    align-items: center;
  }
}

.generator-teaser-media {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 18rem;
}

.generator-teaser-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vs-compare {
  display: flex;
  flex-direction: column;
  min-height: 22rem;
  position: relative;
}

.vs-side {
  flex: 1;
  position: relative;
  background-size: cover;
  background-position: center;
}

.vs-side-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.75rem;
  color: var(--white);
}

.vs-generator .vs-side-overlay {
  background: rgb(31 41 55 / 0.4);
}

.vs-solar .vs-side-overlay {
  background: rgba(48, 86, 163, 0.4);
}

.vs-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  background: rgb(255 255 255 / 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.875rem;
}

.vs-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.vs-label {
  font-size: 1.125rem;
  font-weight: 700;
}

.vs-desc {
  font-size: 0.8125rem;
  color: rgb(255 255 255 / 0.85);
  margin-top: 0.375rem;
  max-width: 15rem;
  line-height: 1.5;
}

.vs-photo-credit {
  font-size: 0.6875rem;
  color: var(--gray-400);
  text-align: right;
  margin-top: 0.5rem;
}

.vs-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  box-shadow: var(--shadow-md);
  z-index: 2;
  border: 3px solid var(--gray-50);
}

.generator-teaser-card {
  padding: 1.75rem;
}

.gen-compare-table {
  border-top: 1px solid var(--gray-200);
}

.gen-compare-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.875rem;
  color: var(--gray-500);
}

.gen-compare-value {
  font-weight: 600;
  color: var(--gray-900);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.gen-compare-row.highlight .gen-compare-value {
  color: var(--green-600);
}

.gen-payback-stat {
  padding-top: 1.25rem;
}

.gen-payback-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-500);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.gen-payback-sub {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 0.375rem;
  line-height: 1.5;
}

.gen-payback-empty {
  font-size: 0.875rem;
  color: var(--gray-400);
  padding-top: 1.25rem;
}

/* ---- Gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  width: 100%;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-tile img.gallery-img-contain {
  object-fit: contain;
  background: var(--gray-100);
}

.gallery-tile:hover img {
  transform: scale(1.1);
}

.gallery-tile-overlay {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.gallery-tile:hover .gallery-tile-overlay {
  background: rgb(0 0 0 / 0.3);
}

.gallery-tile-overlay svg {
  width: 2rem;
  height: 2rem;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-tile:hover .gallery-tile-overlay svg {
  opacity: 1;
}

/* ---- Project Detail Gallery ---- */
.project-gallery-main {
  position: relative;
  width: 100%;
  max-height: 34rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-100);
}

.project-gallery-main img {
  display: block;
  width: 100%;
  max-height: 34rem;
  object-fit: contain;
  background: var(--gray-100);
}

.project-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  background: rgb(0 0 0 / 0.45);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.project-gallery-arrow:hover {
  background: rgb(0 0 0 / 0.65);
}

.project-gallery-arrow svg {
  width: 1.25rem;
  height: 1.25rem;
}

.project-gallery-arrow.prev {
  left: 1rem;
}

.project-gallery-arrow.next {
  right: 1rem;
}

.project-gallery-counter {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgb(0 0 0 / 0.55);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.project-gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.project-gallery-thumb {
  flex-shrink: 0;
  width: 5rem;
  height: 3.75rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: var(--gray-100);
  opacity: 0.7;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.project-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-gallery-thumb:hover {
  opacity: 1;
}

.project-gallery-thumb.active {
  border-color: var(--amber-500);
  opacity: 1;
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgb(0 0 0 / 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: var(--white);
  z-index: 2;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--amber-400);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}
.lightbox-close svg {
  width: 2rem;
  height: 2rem;
}

.lightbox-prev {
  left: 1rem;
}
.lightbox-next {
  right: 1rem;
}
.lightbox-prev svg,
.lightbox-next svg {
  width: 2.5rem;
  height: 2.5rem;
}

.lightbox-image-wrap {
  position: relative;
  width: 100%;
  max-width: 64rem;
  height: 70vh;
  margin: 0 1rem;
}

.lightbox-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-caption {
  position: absolute;
  bottom: 1rem;
  text-align: center;
  color: var(--white);
  width: 100%;
}

.lightbox-caption .counter {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-top: 0.25rem;
}

/* ---- Chat widget ---- */
.chat-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--amber-500);
  color: var(--white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.chat-fab:hover {
  background: var(--amber-600);
  transform: scale(1.05);
}

.chat-fab svg {
  width: 1.5rem;
  height: 1.5rem;
}

.chat-panel {
  position: fixed;
  bottom: 1.5rem;
  right: 6rem;
  z-index: 50;
  width: 20rem;
  height: 450px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-panel.open {
  display: flex;
}

@media (min-width: 400px) {
  .chat-panel {
    width: 24rem;
  }
}

@media (max-width: 767px) {
  .chat-fab {
    width: 3rem;
    height: 3rem;
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
    right: 1rem;
    z-index: 70;
  }

  .chat-panel {
    bottom: calc(8.25rem + env(safe-area-inset-bottom, 0px));
    right: 1rem;
    left: 1rem;
    width: auto;
    z-index: 70;
  }
}

.chat-header {
  background: var(--amber-500);
  color: var(--white);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chat-header-icon {
  width: 2rem;
  height: 2rem;
  background: rgb(255 255 255 / 0.2);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-header-icon svg {
  width: 1rem;
  height: 1rem;
}

.chat-header-info p.title {
  font-weight: 600;
  font-size: 0.875rem;
}

.chat-header-info p.subtitle {
  font-size: 0.75rem;
  color: rgb(255 255 255 / 0.8);
}

.chat-header button {
  color: rgb(255 255 255 / 0.8);
}
.chat-header button:hover {
  color: var(--white);
}
.chat-header button svg {
  width: 1.25rem;
  height: 1.25rem;
}

.chat-header .cart-icon-link {
  color: var(--amber-600);
  background: var(--white);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  padding: 0;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.15s ease;
}
.chat-header .cart-icon-link:hover {
  color: var(--amber-700);
  transform: scale(1.08);
}
.chat-header .cart-icon-link .icon {
  width: 1.125rem;
  height: 1.125rem;
}
.chat-header .cart-icon-link .cart-badge {
  top: -0.25rem;
  right: -0.25rem;
  border: 2px solid var(--amber-500);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-msg-row {
  display: flex;
}

.chat-msg-row.user {
  justify-content: flex-end;
}

.chat-msg-row.bot {
  justify-content: flex-start;
}

.chat-bubble {
  max-width: 80%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
}

.chat-bubble a {
  color: var(--amber-600);
  font-weight: 600;
  text-decoration: underline;
}

.chat-msg-row.user .chat-bubble a {
  color: var(--white);
}

.chat-msg-row.user .chat-bubble {
  background: var(--amber-500);
  color: var(--white);
  border-bottom-right-radius: 0.25rem;
}

.chat-msg-row.bot .chat-bubble {
  background: var(--gray-100);
  color: var(--gray-700);
  border-bottom-left-radius: 0.25rem;
}

.chat-quick-questions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chat-quick-questions button {
  text-align: left;
  font-size: 0.75rem;
  background: var(--amber-50);
  color: #b45309;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
}

.chat-quick-questions button:hover {
  background: var(--amber-100);
}

.chat-actions-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
}

.chat-call,
.chat-whatsapp {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.chat-call {
  background: var(--gray-100);
  color: var(--gray-700);
}

.chat-call:hover {
  background: var(--gray-200);
}

.chat-whatsapp {
  background: var(--green-50);
  color: var(--green-700);
}

.chat-whatsapp:hover {
  background: #dcfce7;
}

.chat-call svg,
.chat-whatsapp svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.chat-footer {
  border-top: 1px solid var(--gray-100);
  flex-shrink: 0;
}

.chat-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
}

.chat-input-row input {
  flex: 1;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  outline: none;
}

.chat-input-row input:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 3px rgb(245 158 11 / 0.25);
}

.chat-input-row button {
  background: var(--amber-500);
  color: var(--white);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.chat-input-row button:hover {
  background: var(--amber-600);
}

.chat-input-row button svg {
  width: 1rem;
  height: 1rem;
}

/* ---- Utility ---- */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }

.text-amber { color: var(--amber-500); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }

.italic {
  font-style: italic;
}

.quote-block {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.25rem 1.125rem;
  overflow: hidden;
}

.quote-block::before {
  content: "";
  position: absolute;
  top: -1rem;
  left: -0.75rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-full);
  background: var(--amber-50);
  z-index: 0;
}

.quote-stars {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.125rem;
  margin-bottom: 0.5rem;
}

.quote-stars svg {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--amber-500);
}

.quote-block p.quote-text {
  position: relative;
  z-index: 1;
  color: var(--gray-700);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

.quote-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--gray-100);
}

.quote-avatar {
  flex-shrink: 0;
  width: 1.875rem;
  height: 1.875rem;
  border-radius: var(--radius-full);
  background: var(--amber-100);
  color: var(--amber-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
}

.quote-block p.quote-author {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-900);
}

.quote-block p.quote-author span {
  display: block;
  margin-top: 0.0625rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--gray-400);
}

/* Case study / project cards */
.split-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
}

@media (min-width: 768px) {
  .split-card.preview {
    grid-template-columns: 1fr 2fr;
  }
}

@media (min-width: 1024px) {
  .split-card.full {
    grid-template-columns: 1fr 2fr;
  }
}

.split-card-media {
  position: relative;
  height: 14rem;
  min-height: 100%;
}

.split-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-card-body {
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .split-card-body {
    padding: 2rem;
  }
}

.split-card-body h2,
.split-card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.split-card-body .desc {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.results-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* ---- Blog ---- */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
}

.blog-card-media {
  height: 12rem;
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.blog-card-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.blog-card-body .excerpt {
  color: var(--gray-500);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.article-header {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2.5rem;
}

.article-header h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.25;
}

@media (min-width: 768px) {
  .article-header h1 {
    font-size: 2.5rem;
  }
}

.article-meta {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-top: 1rem;
}

.article-hero {
  max-width: 56rem;
  margin: 0 auto 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  height: 16rem;
}

@media (min-width: 768px) {
  .article-hero {
    height: 22rem;
  }
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  max-width: 44rem;
  margin: 0 auto;
  color: var(--gray-700);
  line-height: 1.8;
  font-size: 1.0625rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.article-body h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body ul li {
  list-style: disc;
}

.article-body ol li {
  list-style: decimal;
}

.article-body strong {
  color: var(--gray-900);
  font-weight: 600;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.article-body th,
.article-body td {
  text-align: left;
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid var(--gray-200);
}

.article-body th {
  color: var(--gray-500);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.article-cta {
  max-width: 44rem;
  margin: 3rem auto 0;
  background: var(--amber-50);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.article-cta h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.article-cta p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.related-posts {
  max-width: 56rem;
  margin: 4rem auto 0;
}

.related-posts h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.25rem;
  text-align: center;
}

.partner-for {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin: 0.25rem 0 0;
}

/* ---- Partner cards (standout treatment) ---- */
.partner-card {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-md);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon.icon-green {
  background: var(--green-50);
  color: var(--green-600);
}

/* ---- Multi-party programme flow (numbered vertical timeline) ---- */
.programme-flow {
  display: flex;
  flex-direction: column;
  margin: 1.75rem 0;
}

.programme-step {
  display: flex;
  gap: 1rem;
  position: relative;
  padding-bottom: 1.75rem;
}

.programme-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.125rem;
  top: 2.5rem;
  bottom: 0;
  width: 2px;
  background: var(--gray-100);
}

.programme-step-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  background: var(--amber-50);
  color: var(--amber-600);
  border: 1px solid var(--amber-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
  z-index: 1;
}

.programme-step p {
  margin: 0;
  padding-top: 0.4rem;
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.programme-step p strong {
  color: var(--gray-900);
}

/* Dark "payout" card — the visual payoff moment for the earnings calculator */
.results-card.dark {
  background: var(--green-700);
  border: none;
  color: var(--white);
}

.results-card.dark.light-audit-band {
  background: var(--green-50);
  color: var(--gray-900);
}

.results-card.dark.light-audit-band h3 {
  color: var(--gray-900);
}

.results-card.dark.light-audit-band .lead-capture-sub {
  color: var(--gray-600);
}

.results-card.dark.light-audit-band .form-field label {
  color: var(--gray-700);
}

.audit-band-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .audit-band-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
  }
}

.audit-band-copy .pill {
  background: var(--white);
  color: var(--green-700);
  box-shadow: var(--shadow-sm);
}

.audit-band-copy h3 {
  font-size: 1.625rem;
  margin-top: 0.875rem;
  margin-bottom: 0.75rem;
}

.audit-band-copy .lead-capture-sub {
  margin-bottom: 0;
  font-size: 1rem;
}

.audit-trust-list {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.audit-trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
}

.audit-trust-list li svg {
  width: 1.375rem;
  height: 1.375rem;
  flex-shrink: 0;
  margin-top: 0.0625rem;
  color: var(--green-600);
}

.audit-form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
}

.audit-form-card .btn-link {
  margin-top: 1rem;
  justify-content: center;
  display: flex;
}

.results-card.dark h3 {
  color: var(--white);
}

.results-card.dark .calc-summary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.results-card.dark .calc-summary strong {
  color: var(--white);
}

.results-card.dark .result-block {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.results-card.dark .result-block.highlight {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.results-card.dark .result-block .label {
  color: rgba(255, 255, 255, 0.75);
}

.results-card.dark .result-block .big,
.results-card.dark .result-block .mid {
  color: var(--white);
}

.results-card.dark .result-block .sub {
  color: rgba(255, 255, 255, 0.6);
}

.results-card.dark .generator-result-line {
  color: rgba(255, 255, 255, 0.75);
}

.results-card.dark .generator-result-line .value {
  color: var(--white);
}

.results-card.dark .results-note {
  color: rgba(255, 255, 255, 0.6);
}

.results-card.dark .lead-capture-sub {
  color: rgba(255, 255, 255, 0.75);
}

.results-card.dark .form-field label {
  color: rgba(255, 255, 255, 0.85);
}

.results-card.dark .pill.pill-amber {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

/* Section identity for the referral + earnings flow */
.section-tinted {
  background: var(--green-50);
}
