/* ============================================
   Flowing Solar — Site-Wide Styles
   Font: Comfortaa 300/400/700
   Palette: Option D (Finalized)
   ============================================ */

:root {
  --green:       #12d68a;
  --green-dark:  #0ab574;
  --green-light: #e0fff3;
  --blue:        #1860d0;
  --blue-dark:   #1250b0;
  --blue-mid:    #3db8e8;
  --blue-light:  #ddeaff;
  --sky:         #3db8e8;
  --text:        #0e1e30;
  --text-mid:    #2e4a62;
  --text-light:  #6a8a9d;
  --border:      #c8dcea;
  --white:       #ffffff;
  --off-white:   #f4f8fb;
}

/* RESET */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Comfortaa', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

/* ============================================
   NAV
   ============================================ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 68px;
}

.nav-logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  margin-right: 10px;
}

.nav-logo span { color: var(--blue); }

.nav-logo-tld { margin-left: 0; }

.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-mid);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--green); }

.nav-cta {
  background: var(--green) !important;
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--green-dark) !important; }

/* ============================================
   HERO
   ============================================ */
.hero {
  background: linear-gradient(rgba(14, 30, 48, 0.55), rgba(14, 30, 48, 0.55)), url('images/almond-field.jpg') center / cover no-repeat;
  padding: 100px 48px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--green);
}

.hero-sub {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  background: var(--blue-light);
  border-radius: 12px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero-visual-label {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-light);
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}

.hero-svg {
  position: absolute;
  opacity: 0.15;
  bottom: -20px;
  right: -20px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  font-family: 'Comfortaa', sans-serif;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  padding: 12px 24px;
  border: none;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 6px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}

.btn-primary:hover { background: var(--green-dark); }

.btn-secondary {
  background: var(--white);
  color: var(--blue);
  border: 1.5px solid var(--blue);
  padding: 12px 28px;
  border-radius: 6px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}

.btn-secondary:hover { background: var(--blue-light); }

.btn-dark {
  background: var(--text);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--text-mid);
  border: 1px solid var(--border);
  padding: 11px 22px;
}

.btn-white {
  background: var(--white);
  color: var(--text);
  padding: 14px 28px;
  border-radius: 6px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
  display: inline-block;
}

.btn-white:hover { opacity: 0.9; }

.btn-sm { padding: 8px 16px; font-size: 12px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}

.stat {
  padding: 36px 48px;
  border-right: 1px solid var(--border);
}

.stat:last-child { border-right: none; }

.stat-num {
  font-size: 40px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-mid);
}

/* ============================================
   SECTIONS
   ============================================ */
section {
  padding: 80px 48px;
}

section.alt { background: var(--off-white); }

.section-eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
  max-width: 560px;
}

.section-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-mid);
  max-width: 560px;
  margin-bottom: 48px;
}

/* ============================================
   HOW IT WORKS — STEPS
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.step p {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ============================================
   APPLICATIONS — CARDS
   ============================================ */
.apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.app-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
}

.app-card-img {
  height: 160px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-card-body { padding: 24px; }

.app-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.app-card-body p {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ============================================
   PHOTO PLACEHOLDER
   ============================================ */
.photo-note {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 1.5px;
  color: var(--text-light);
  border: 1px dashed var(--border);
  border-radius: 6px;
  padding: 8px 14px;
}

/* ============================================
   ADVANCED SOLUTIONS
   ============================================ */
.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.solution-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.solution-body {
  padding: 28px;
}

.solution-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.solution-body > p {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 12px;
}

.solution-list {
  margin-top: 8px;
}

.solution-list li::before {
  background: var(--green) !important;
}

/* ============================================
   DIESEL vs SOLAR COMPARISON
   ============================================ */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.compare-col {
  border-radius: 10px;
  padding: 32px;
}

.compare-col.diesel {
  background: #fff5f5;
  border: 1px solid #f5c0c0;
}

.compare-col.solar {
  background: var(--green-light);
  border: 1px solid #80ecc0;
}

.compare-col h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.compare-col.diesel h3 { color: #c0392b; }
.compare-col.solar h3 { color: var(--green-dark); }

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-list li {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-mid);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.compare-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.diesel .compare-list li::before { background: #e74c3c; }
.solar .compare-list li::before { background: var(--green); }

/* ============================================
   CALCULATOR SECTION
   ============================================ */
.calc-wrapper {
  background: var(--text);
  border-radius: 12px;
  padding: 56px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.calc-intro .section-eyebrow { color: var(--sky); }

.calc-intro h2 {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--white);
}

.calc-intro p {
  font-size: 15px;
  font-weight: 300;
  opacity: 0.75;
  line-height: 1.65;
  color: var(--white);
}

.calc-placeholder {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 32px;
  text-align: center;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calc-placeholder.hero-calc {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text-light);
  min-height: 380px;
}

/* HERO CALCULATOR FORM */
.hero-calc-form {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-form-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.calc-field > label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-mid);
  letter-spacing: 0.3px;
}

.calc-field select,
.calc-field input {
  font-family: 'Comfortaa', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s;
}

.calc-field select:focus,
.calc-field input:focus {
  border-color: var(--blue);
  background: var(--white);
}

.calc-checkboxes {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.calc-checkbox {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--text-mid) !important;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.calc-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  cursor: pointer;
  padding: 0;
  border: 1.5px solid var(--border);
  border-radius: 3px;
}

.calc-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.calc-submit {
  margin-top: 4px;
  width: 100%;
  text-align: center;
}

/* ============================================
   PARTNER BANNER
   ============================================ */
.partner-banner {
  background: var(--text);
  color: var(--white);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.partner-banner h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.partner-banner p {
  font-size: 15px;
  font-weight: 300;
  opacity: 0.65;
  max-width: 520px;
}

/* ============================================
   FORMS
   ============================================ */
label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.3px;
}

input, select, textarea {
  font-family: 'Comfortaa', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
}

textarea { resize: vertical; min-height: 80px; }

/* ============================================
   BADGES
   ============================================ */
.badge {
  font-family: 'Comfortaa', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-block;
}

.badge-green { background: var(--green-light); color: var(--green-dark); }
.badge-blue  { background: var(--blue-light);  color: var(--blue-dark); }
.badge-sky   { background: #ddf6ff; color: #0a7aa8; }
.badge-dark  { background: var(--text); color: var(--white); }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 300;
  color: var(--text-light);
}

footer a {
  color: var(--text-light);
  text-decoration: none;
}

footer a:hover { color: var(--green); }

/* ============================================
   DIVIDERS
   ============================================ */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ============================================
   HAMBURGER MENU
   ============================================ */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  nav { padding: 0 20px; }

  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 20px 24px;
    gap: 0;
    box-shadow: 0 8px 24px rgba(14, 30, 48, 0.08);
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child a { border-bottom: none; }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
    display: block !important;
    padding: 14px 20px !important;
  }

  .hero { grid-template-columns: 1fr; padding: 48px 20px; gap: 32px; }
  .hero h1 { font-size: 36px; }
  .hero-visual { height: 220px; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  section { padding: 48px 20px; }
  .section-title { font-size: 28px; }
  .steps { grid-template-columns: 1fr; }
  .apps { grid-template-columns: 1fr; }
  .comparison { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .calc-wrapper { grid-template-columns: 1fr; padding: 32px 20px; gap: 32px; }
  .calc-intro h2 { font-size: 26px; }
  .partner-banner { grid-template-columns: 1fr; padding: 40px 20px; text-align: center; }
  .partner-banner h2 { font-size: 26px; }
  footer { flex-direction: column; gap: 8px; text-align: center; padding: 32px 20px; }
}
