/* ============================================
   POWER FACTOR - Global Design System
   Solar & Electricity Company
   ============================================ */

:root {
  /* Colors */
  --deep-blue: #0a1628;
  --blue-dark: #0d2137;
  --blue-mid: #1a3a52;
  --blue-light: #2d5a7b;
  --electric-yellow: #f4c430;
  --yellow-bright: #ffd54f;
  --yellow-soft: #ffe082;
  --white: #ffffff;
  --gray-100: #f8fafc;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, rgba(10, 22, 40, 0.92) 0%, rgba(26, 58, 82, 0.85) 100%);
  --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
  --gradient-cta: linear-gradient(135deg, #f4c430 0%, #ffd54f 100%);
  --gradient-section: linear-gradient(180deg, #0a1628 0%, #0d2137 50%, #1a3a52 100%);
  
  /* Typography */
  --font-primary: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3rem;
  --font-size-hero: clamp(2rem, 5vw, 3.5rem);
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --section-padding: clamp(3rem, 6vw, 5rem);
  
  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --header-height: 72px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.18);
  --shadow-glow: 0 0 40px rgba(244, 196, 48, 0.15);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--gray-200);
  background: var(--deep-blue);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast), transform var(--transition-fast); }
ul, ol { list-style: none; }

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.container--narrow { max-width: var(--container-narrow); }

/* ========== HEADER / NAV ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.logo img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo span { color: var(--electric-yellow); }
.nav-desktop {
  display: none;
}
@media (min-width: 768px) {
  .nav-desktop { display: flex; align-items: center; gap: var(--space-xl); }
  .nav-desktop a {
    color: var(--gray-200);
    font-weight: 500;
    font-size: var(--font-size-sm);
  }
  .nav-desktop a:hover { color: var(--electric-yellow); }
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm) var(--space-lg);
  background: var(--gradient-cta);
  color: var(--deep-blue);
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
@media (min-width: 768px) { .hamburger { display: none; } }
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-base);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.nav-mobile {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--blue-dark);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  transform: translateX(100%);
  transition: transform var(--transition-base);
  z-index: 999;
}
.nav-mobile.open { transform: translateX(0); }
@media (min-width: 768px) { .nav-mobile { display: none; } }
.nav-mobile a {
  font-size: var(--font-size-lg);
  color: var(--white);
  font-weight: 500;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: var(--font-size-sm);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
}
.btn:disabled { opacity: 0.7; cursor: not-allowed; }
.btn--primary {
  background: var(--gradient-cta);
  color: var(--deep-blue);
}
.btn--primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--electric-yellow);
}
.btn--secondary:hover:not(:disabled) { background: rgba(244, 196, 48, 0.15); }
.btn--lg { padding: var(--space-lg) var(--space-2xl); font-size: var(--font-size-base); }

/* ========== SECTIONS ========== */
.section {
  padding: var(--section-padding) 0;
}
.section--dark { background: var(--blue-dark); }
.section--gradient { background: var(--gradient-section); }
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-tight);
}
.section-subtitle {
  color: var(--gray-400);
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin-bottom: var(--space-2xl);
}

/* ========== CARDS ========== */
.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-cta);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(244, 196, 48, 0.2);
}
.card:hover::before { opacity: 1; }
.card__icon {
  width: 56px;
  height: 56px;
  background: rgba(244, 196, 48, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
}
.card__title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-sm);
}
.card__text { color: var(--gray-400); font-size: var(--font-size-sm); }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: var(--header-height);
  overflow: hidden;
}
.hero__carousel {
  position: absolute;
  inset: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  z-index: 0;
}
.hero__slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}
.hero__slide.leaving {
  opacity: 0;
  transform: translateX(-50px);
  z-index: 1;
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 2;
}
.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: var(--space-xl);
}
.hero__title {
  font-size: var(--font-size-hero);
  font-weight: 800;
  color: var(--white);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease;
}
.hero__subtitle {
  font-size: var(--font-size-lg);
  color: var(--gray-200);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero__dots {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: var(--space-sm);
}
.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.hero__dot.active { background: var(--electric-yellow); transform: scale(1.2); }
.hero__arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 var(--space-lg);
  z-index: 3;
  pointer-events: none;
}
.hero__arrow {
  pointer-events: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.hero__arrow:hover { background: var(--electric-yellow); color: var(--deep-blue); }

/* Page hero (smaller) */
.page-hero {
  padding: calc(var(--header-height) + var(--section-padding)) 0 var(--section-padding);
  text-align: center;
  position: relative;
  background: var(--blue-dark);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?w=1920') center/cover;
  opacity: 0.25;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: var(--font-size-4xl); color: var(--white); font-weight: 700; }

/* ========== GRIDS ========== */
.grid-2 { display: grid; gap: var(--space-xl); }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { display: grid; gap: var(--space-xl); }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; gap: var(--space-xl); }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-5 { display: grid; gap: var(--space-xl); }
@media (min-width: 640px) { .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .grid-5 { grid-template-columns: repeat(5, 1fr); } }

/* ========== STATS ========== */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  text-align: center;
  padding: var(--space-xl);
}
.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--electric-yellow);
  line-height: 1;
  margin-bottom: var(--space-sm);
}
.stat-label { color: var(--gray-400); font-size: var(--font-size-sm); }

/* ========== TESTIMONIALS ========== */
.testimonials-slider {
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}
.testimonial-slide {
  display: none;
  padding: var(--space-2xl);
  text-align: center;
}
.testimonial-slide.active { display: block; animation: fadeIn 0.5s ease; }
.testimonial-quote {
  font-size: var(--font-size-lg);
  color: var(--gray-200);
  font-style: italic;
  margin-bottom: var(--space-lg);
  line-height: var(--line-height-relaxed);
}
.testimonial-author { font-weight: 600; color: var(--white); }
.testimonial-role { color: var(--gray-400); font-size: var(--font-size-sm); }
.testimonials-dots { display: flex; justify-content: center; gap: var(--space-sm); margin-top: var(--space-lg); }
.testimonials-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.testimonials-dots button.active { background: var(--electric-yellow); }

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-mid) 0%, var(--blue-light) 100%);
  border: 1px solid rgba(244, 196, 48, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(244,196,48,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: var(--font-size-2xl);
  color: var(--white);
  margin-bottom: var(--space-md);
}
.cta-banner p { color: var(--gray-200); margin-bottom: var(--space-xl); }
.cta-banner .btn { margin: 0 auto; }

/* ========== FOOTER ========== */
.footer {
  background: var(--blue-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-3xl) 0 var(--space-xl);
}
.footer-grid {
  display: grid;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }
.footer-brand .logo { margin-bottom: var(--space-md); }
.footer-brand p { color: var(--gray-400); font-size: var(--font-size-sm); max-width: 280px; line-height: var(--line-height-relaxed); }
.footer h4 {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
}
.footer-links a {
  display: block;
  color: var(--gray-400);
  font-size: var(--font-size-sm);
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--electric-yellow); }
.footer-contact p {
  color: var(--gray-400);
  font-size: var(--font-size-sm);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.footer-contact p span { color: var(--electric-yellow); flex-shrink: 0; }
.footer-newsletter input {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-sm);
}
.footer-newsletter input::placeholder { color: var(--gray-400); }
.footer-newsletter .btn { width: 100%; }
.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-200);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.footer-social a:hover { background: var(--electric-yellow); color: var(--deep-blue); }
.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.footer-bottom p { color: var(--gray-600); font-size: var(--font-size-xs); }

/* ========== FORMS ========== */
.form-group { margin-bottom: var(--space-lg); }
.form-group label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--gray-200);
  margin-bottom: var(--space-sm);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--electric-yellow);
  box-shadow: 0 0 0 3px rgba(244, 196, 48, 0.2);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }

/* ========== ACCORDION (FAQ) ========== */
.accordion-item {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}
.accordion-item:hover { border-color: rgba(244, 196, 48, 0.3); }
.accordion-header {
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  background: rgba(255,255,255,0.03);
  border: none;
  color: var(--white);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  transition: background var(--transition-fast);
}
.accordion-header:hover { background: rgba(255,255,255,0.06); }
.accordion-header span:last-child {
  color: var(--electric-yellow);
  font-size: 1.25rem;
  transition: transform var(--transition-base);
  flex-shrink: 0;
}
.accordion-item.open .accordion-header span:last-child { transform: rotate(45deg); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}
.accordion-item.open .accordion-content { max-height: 400px; }
.accordion-content-inner {
  padding: 0 var(--space-xl) var(--space-xl);
  color: var(--gray-400);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
}

/* ========== TABS ========== */
.tabs-header {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: var(--space-md);
}
.tabs-header button {
  padding: var(--space-sm) var(--space-lg);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  color: var(--gray-400);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.tabs-header button:hover { color: var(--white); border-color: var(--electric-yellow); }
.tabs-header button.active { background: var(--electric-yellow); color: var(--deep-blue); border-color: var(--electric-yellow); }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn 0.4s ease; }

/* ========== PROJECT FILTER ========== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-2xl);
}
.filter-bar button {
  padding: var(--space-sm) var(--space-lg);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  color: var(--gray-200);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-bar button:hover { border-color: var(--electric-yellow); color: var(--electric-yellow); }
.filter-bar button.active { background: var(--electric-yellow); color: var(--deep-blue); border-color: var(--electric-yellow); }

/* Project card */
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--blue-mid);
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.project-card:hover img { transform: scale(1.08); }
.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.95) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.project-card:hover .project-card__overlay { opacity: 1; }
.project-card__overlay h3 { color: var(--white); font-size: var(--font-size-lg); margin-bottom: var(--space-xs); }
.project-card__overlay p { color: var(--gray-400); font-size: var(--font-size-xs); }

/* ========== TIMELINE ========== */
.timeline { position: relative; padding-left: var(--space-xl); }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--electric-yellow), var(--blue-light));
}
.timeline-item {
  position: relative;
  padding-bottom: var(--space-2xl);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--electric-yellow);
  box-shadow: 0 0 0 4px var(--blue-dark);
}
.timeline-item h4 { color: var(--white); font-size: var(--font-size-lg); margin-bottom: var(--space-xs); }
.timeline-item p { color: var(--gray-400); font-size: var(--font-size-sm); }

/* ========== TEAM CARD ========== */
.team-card {
  text-align: center;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card__image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-lg);
  border: 3px solid rgba(244, 196, 48, 0.3);
}
.team-card__name { color: var(--white); font-weight: 600; margin-bottom: var(--space-xs); }
.team-card__role { color: var(--electric-yellow); font-size: var(--font-size-sm); }

/* ========== BLOG CARD ========== */
.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card__image {
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.blog-card:hover .blog-card__image { transform: scale(1.05); }
.blog-card__content { padding: var(--space-lg); }
.blog-card__meta { color: var(--gray-400); font-size: var(--font-size-xs); margin-bottom: var(--space-sm); }
.blog-card__title { color: var(--white); font-size: var(--font-size-lg); font-weight: 600; margin-bottom: var(--space-sm); line-height: 1.3; }
.blog-card__excerpt { color: var(--gray-400); font-size: var(--font-size-sm); }

/* ========== PROCESS STEPS ========== */
.process-steps { display: grid; gap: var(--space-xl); counter-reset: step; }
@media (min-width: 768px) { .process-steps { grid-template-columns: repeat(3, 1fr); } }
.process-step {
  position: relative;
  padding: var(--space-xl);
  text-align: center;
  counter-increment: step;
}
.process-step::before {
  content: counter(step);
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-lg);
  background: var(--gradient-cta);
  color: var(--deep-blue);
  font-weight: 800;
  font-size: var(--font-size-xl);
  border-radius: 50%;
  line-height: 48px;
}
.process-step h4 { color: var(--white); margin-bottom: var(--space-sm); }
.process-step p { color: var(--gray-400); font-size: var(--font-size-sm); }

/* ========== BEFORE/AFTER SLIDER ========== */
.before-after {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  max-width: 800px;
  margin: 0 auto;
}
.before-after img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.before-after__after { clip-path: inset(0 50% 0 0); }
.before-after__slider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--electric-yellow);
  cursor: ew-resize;
  z-index: 2;
}
.before-after__slider::before {
  content: '◀ ▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--electric-yellow);
  color: var(--deep-blue);
  font-size: 12px;
  padding: 8px;
  border-radius: 50%;
  white-space: nowrap;
}

/* ========== MAP ========== */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  background: var(--blue-mid);
}
.map-container iframe { width: 100%; height: 100%; border: 0; }

/* ========== LOADING / SCROLL ANIMATIONS ========== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--deep-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(244, 196, 48, 0.2);
  border-top-color: var(--electric-yellow);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== SOLAR PACKAGE CARDS ========== */
.package-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.package-card--featured { border-color: rgba(244, 196, 48, 0.4); }
.package-card__badge {
  background: var(--gradient-cta);
  color: var(--deep-blue);
  font-weight: 700;
  font-size: var(--font-size-sm);
  padding: var(--space-sm) var(--space-lg);
  text-align: center;
}
.package-card__body { padding: var(--space-xl); }
.package-card__title { font-size: var(--font-size-xl); color: var(--white); margin-bottom: var(--space-xs); }
.package-card__sub { color: var(--gray-400); font-size: var(--font-size-sm); margin-bottom: var(--space-lg); }
.package-card__list { margin-bottom: var(--space-xl); }
.package-card__list li {
  color: var(--gray-200);
  font-size: var(--font-size-sm);
  padding: var(--space-xs) 0;
  padding-left: 1.25rem;
  position: relative;
}
.package-card__list li::before { content: '•'; color: var(--electric-yellow); position: absolute; left: 0; }
.package-card__price { font-size: var(--font-size-2xl); font-weight: 800; color: var(--electric-yellow); margin-bottom: var(--space-md); }
.package-card .btn { width: 100%; }

/* Team banner (about page) - stack on small screens */
@media (max-width: 640px) {
  .team-banner { grid-template-columns: 1fr !important; }
}

/* ========== BLOG LAYOUT ========== */
@media (max-width: 991px) {
  .blog-card + .blog-card { margin-top: 0; }
  aside .card { position: static !important; }
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-xl { margin-top: var(--space-xl); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Touch-friendly and mobile polish */
@media (max-width: 767px) {
  .hero__arrow { width: 40px; height: 40px; font-size: 1rem; }
  .btn--lg { padding: var(--space-md) var(--space-xl); }
  .cta-banner { padding: var(--space-2xl); }
  .section { padding: clamp(2rem, 4vw, 3rem) 0; }
}
