/* ==========================================================================
   FIRST FRONT SOLAR ENERGY (FFSE) — Premium Corporate Design System
   Visual Identity derived 100% from Official Logo:
   - Primary Deep Solar Blue: #075F94 & #064B73
   - Dark Engineering Navy: #06283D & #061D2A
   - Accent Solar Gold / Orange: #F2A20B & #E67E22
   - Highlight Solar Yellow: #FFBF32
   - Neutral Surfaces: Pure White #FFFFFF, Slate Light #F8FAFC, Obsidian #071120
   - Typography: Plus Jakarta Sans / Outfit (Headings) + Inter (Body)
   ========================================================================== */

:root {
  /* Brand Palette from Official Logo */
  --color-brand-blue: #075F94;
  --color-brand-blue-dark: #064B73;
  --color-brand-navy: #06283D;
  --color-brand-navy-deep: #061D2A;
  --color-brand-blue-light: #EBF4FA;

  --color-brand-gold: #F2A20B;
  --color-brand-orange: #E67E22;
  --color-brand-yellow: #FFBF32;
  --color-brand-gold-light: #FFF7EB;

  --color-brand-cyan: #00D2FF;
  --color-brand-cyan-dark: #0096B8;

  /* Neutral Surface Palette */
  --color-bg-white: #FFFFFF;
  --color-bg-light: #F8FAFC;
  --color-bg-alt: #F1F5F9;
  --color-bg-dark: #061D2A;
  --color-bg-dark-card: #0A253A;

  --color-text-heading: #0F172A;
  --color-text-body: #334155;
  --color-text-muted: #64748B;
  --color-text-light: #94A3B8;

  --color-border: #E2E8F0;
  --color-border-dark: #1E3A52;
  --color-border-accent: rgba(242, 162, 11, 0.35);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Radius */
  --container-max: 1320px;
  --header-height: 110px;
  --header-height-scrolled: 90px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Premium Depth & Shadows */
  --shadow-sm: 0 2px 6px rgba(6, 40, 61, 0.04);
  --shadow-md: 0 10px 30px rgba(6, 40, 61, 0.08);
  --shadow-lg: 0 20px 45px rgba(6, 40, 61, 0.14);
  --shadow-rich: 0 24px 50px -12px rgba(6, 29, 42, 0.22), 0 0 0 1px rgba(6, 29, 42, 0.05);
  --shadow-gold: 0 8px 25px rgba(242, 162, 11, 0.28);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s ease;
}

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

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-body);
  background-color: var(--color-bg-white);
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: clip;
}

body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: clip;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 118px;
}

main { flex: 1 0 auto; }

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  color: var(--color-text-heading);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h1, .h1 { font-size: clamp(2.5rem, 4.8vw, 3.85rem); letter-spacing: -0.03em; line-height: 1.14; }
h2, .h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); letter-spacing: -0.025em; }
h3, .h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); letter-spacing: -0.02em; }
h4, .h4 { font-size: 1.25rem; font-weight: 700; }
h5, .h5 { font-size: 1.05rem; font-weight: 700; }

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}
p:last-child { margin-bottom: 0; }

a {
  color: var(--color-brand-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Eyebrow Badges */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-gold);
  background: rgba(242, 162, 11, 0.12);
  border: 1px solid var(--color-border-accent);
  padding: 0.45rem 1.15rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.eyebrow-dark {
  color: var(--color-brand-gold);
  background: rgba(242, 162, 11, 0.15);
  border-color: rgba(242, 162, 11, 0.35);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-brand-gold) 0%, var(--color-brand-orange) 100%);
  color: var(--color-brand-navy-deep);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-brand-yellow) 0%, #D35400 100%);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(242, 162, 11, 0.4);
}

.btn-navy {
  background: linear-gradient(135deg, var(--color-brand-blue-dark) 0%, var(--color-brand-navy) 100%);
  color: #FFFFFF;
  border: 1px solid var(--color-border-dark);
}

.btn-navy:hover {
  background: var(--color-brand-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: var(--color-brand-navy-deep);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.65rem 1.35rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.15rem 2.4rem;
  font-size: 1.05rem;
}

.btn-icon {
  width: 1.15em;
  height: 1.15em;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Blueprint Grid Utility Backdrop */
.blueprint-bg {
  background-image: 
    linear-gradient(rgba(242, 162, 11, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 162, 11, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.blueprint-bg-dark {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Display Counters */
.counter-value {
  font-family: var(--font-display);
  font-weight: 800;
}
