/* ============================================================
   SKYX ENERGY — Main Stylesheet
   Palette: Navy #0B2545 | Gold #F5AE1D | Sky Blue #4C7DFF | White #FFFFFF | Cool Grey #7C8A9E
   Type: Space Grotesk (display) + Inter (body)
   ============================================================ */

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

:root {
  --navy: #26343A;
  --navy-mid: #415048;
  --navy-light: #FFF7EA;
  --gold: #F5A800;
  --gold-dark: #D88A00;
  --sky: #5F9A5A;
  --white: #FFFFFF;
  --off-white: #FFFDF8;
  --grey: #7A766E;
  --grey-light: #E7DED1;
  --text-dark: #26343A;
  --text-body: #5D625E;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 30px rgba(112, 88, 45, 0.10);
  --shadow-gold: 0 8px 30px rgba(245, 168, 0, 0.22);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; font-weight: 600; }
h5 { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--grey); }

p { font-size: 1rem; line-height: 1.75; color: var(--text-body); }

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

/* ---- LAYOUT ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section-light { background: var(--off-white); padding: 100px 0; }
.section-dark { background: var(--cream); padding: 100px 0; }
.section-gold { background: var(--gold); padding: 100px 0; }
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center h2 { max-width: 640px; margin: 0 auto; }
.section-sub { margin-top: 16px; font-size: 1.1rem; color: var(--grey); max-width: 520px; margin-left: auto; margin-right: auto; }
.light-sub { color: var(--grey-light); }

.section-eyebrow {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-eyebrow.light { color: var(--sky); }
.section-eyebrow.dark { color: var(--navy); }

.section-dark h2 { color: var(--white); }
.section-dark p { color: var(--grey-light); }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-gold); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1.5px solid rgba(95,76,45,0.25);
  transition: border-color 0.18s, background 0.18s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(245,130,31,0.06); }

.btn-primary-sm {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 11px 24px;
  border-radius: var(--radius);
  margin-top: 28px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.btn-primary-sm:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }

.btn-ghost-sm {
  display: inline-block;
  color: var(--gold);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 11px 24px;
  border-radius: var(--radius);
  border: 1.5px solid var(--gold);
  margin-top: auto;
  transition: background 0.18s, color 0.18s;
}
.btn-ghost-sm:hover { background: var(--gold); color: var(--navy); }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 20px 0;
  transition: background 0.3s, padding 0.3s, backdrop-filter 0.3s;
}
.nav-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(95, 76, 45, 0.12);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { flex-shrink: 0; }
.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--white);
}
.logo-x { color: var(--gold); }

.nav-links {
  display: flex; align-items: center; gap: 32px; list-style: none;
}
.nav-links a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem; font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: transform 0.18s, box-shadow 0.18s !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-gold); }

.nav-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;

  /* Show the background image clearly */
  background-image: url("../images/hero-bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
}

/* Solar ray burst — signature element */
.hero-rays {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
}
.ray {
  position: absolute;
  top: 50%; left: 50%;
  width: 600px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245,130,31,0.12) 40%, rgba(245,130,31,0.03));
  transform-origin: 0 50%;
  animation: rayPulse 6s ease-in-out infinite;
}
.ray-1 { transform: rotate(0deg); animation-delay: 0s; }
.ray-2 { transform: rotate(45deg); animation-delay: 0.75s; }
.ray-3 { transform: rotate(90deg); animation-delay: 1.5s; }
.ray-4 { transform: rotate(135deg); animation-delay: 2.25s; }
.ray-5 { transform: rotate(180deg); animation-delay: 3s; }
.ray-6 { transform: rotate(225deg); animation-delay: 3.75s; }
.ray-7 { transform: rotate(270deg); animation-delay: 4.5s; }
.ray-8 { transform: rotate(315deg); animation-delay: 5.25s; }

@keyframes rayPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 820px; margin: 0 auto; text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(245,130,31,0.15);
  border: 1px solid rgba(245,130,31,0.35);
  color: var(--gold);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.06em;
  padding: 8px 18px; border-radius: 100px;
  margin-bottom: 32px;
  animation: fadeDown 0.7s ease both;
}

.hero-headline {
  color: #26343A;
}
.headline-gold { color: var(--gold); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--grey-light);
  max-width: 620px; margin: 0 auto 40px;
  animation: fadeDown 0.8s 0.2s ease both;
}

.hero-ctas {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeDown 0.8s 0.3s ease both;
}

.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
  padding: 32px 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(95,76,45,0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  animation: fadeDown 0.8s 0.4s ease both;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.stat-unit {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem; font-weight: 600;
  color: var(--gold);
}
.stat-label {
  display: block;
  font-size: 0.82rem; color: var(--grey);
  margin-top: 6px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.04em;
}
.stat-divider {
  width: 1px; height: 48px;
  background: rgba(95,76,45,0.16);
}

.hero-scroll-hint {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--grey); font-size: 0.75rem; letter-spacing: 0.08em;
  font-family: 'Space Grotesk', sans-serif;
  animation: fadeDown 1s 0.8s ease both;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--grey), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   GET SOLAR FOR
   ============================================================ */
.get-solar { padding: 64px 0 48px; }
.get-solar-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 40px;
  color: var(--text-dark);
}
.get-solar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.get-solar-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.get-solar-item:hover {
  background: rgba(245,130,31,0.06);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.gs-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  background: linear-gradient(145deg, var(--gold), var(--gold-dark));
  box-shadow: var(--shadow-gold);
}
.gs-copy h4 {
  color: var(--text-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.gs-arrow {
  color: var(--gold);
  font-weight: 700;
  transition: transform 0.2s ease;
}
.get-solar-item:hover .gs-arrow { transform: translateX(4px); }
.gs-copy p {
  font-size: 0.92rem;
  color: var(--text-body);
  margin: 0;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-text .section-eyebrow { margin-bottom: 12px; }
.about-text h2 { color: var(--navy); margin-bottom: 24px; }
.about-text p { color: var(--text-body); margin-bottom: 14px; }
.about-text p:last-of-type { margin-bottom: 0; }

.about-card-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 20px;
}
.about-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.about-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(11,37,69,0.15); }
.about-card-gold { background: var(--cream); border-color: #F1D49F; }
.about-card-gold .ac-label { color: var(--white); }
.ac-icon { font-size: 2rem; margin-bottom: 10px; }
.ac-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.88rem;
  color: var(--navy);
}
.about-tagline {
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem; font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  padding: 16px;
  background: var(--cream);
  border-radius: var(--radius);
}

/* ============================================================
   SOLUTIONS
   ============================================================ */
.solutions-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px;
  align-items: start;
}
.solution-card {
  background: var(--navy-light);
  border: 1px solid rgba(95,76,45,0.12);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex; flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}
.solution-card:hover { transform: translateY(-4px); border-color: rgba(245,130,31,0.4); }

.solution-featured {
  background: linear-gradient(145deg, var(--navy-light), rgba(245,130,31,0.08));
  border-color: rgba(245,130,31,0.3);
  position: relative;
}
.sol-badge {
  position: absolute; top: -12px; left: 28px;
  background: var(--gold); color: var(--navy);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px;
}
.sol-icon { font-size: 2.2rem; margin-bottom: 16px; }
.solution-card h3 { color: var(--white); margin-bottom: 6px; }
.sol-tagline {
  color: var(--gold);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.solution-card > p { color: var(--grey-light); font-size: 0.92rem; margin-bottom: 20px; }

.sol-benefits {
  list-style: none; margin-bottom: 24px; flex: 1;
}
.sol-benefits li {
  color: var(--grey-light);
  font-size: 0.88rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(95,76,45,0.10);
  padding-left: 20px;
  position: relative;
}
.sol-benefits li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--gold);
}

.sol-ideal { margin-bottom: 28px; }
.ideal-label {
  display: block;
  font-size: 0.78rem;
  color: var(--grey);
  margin-bottom: 10px;
  font-family: 'Space Grotesk', sans-serif;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.ideal-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ideal-tags span {
  background: rgba(95,76,45,0.08);
  color: var(--grey-light);
  font-size: 0.75rem;
  padding: 4px 10px; border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif;
}

/* ============================================================
   WHY SKYX
   ============================================================ */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s;
}
.why-card.visible { opacity: 1; transform: translateY(0); }
.why-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.why-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem; font-weight: 700;
  color: rgba(245,130,31,0.25);
  margin-bottom: 16px;
  line-height: 1;
}
.why-card h4 { color: var(--navy); margin-bottom: 10px; }
.why-card p { font-size: 0.92rem; color: var(--text-body); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-track { position: relative; }
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px;
  position: relative; z-index: 1;
}
.step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.step-dot {
  width: 48px; height: 48px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; flex-shrink: 0;
}
.step-dot span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--navy);
}
.step-content h4 { color: var(--white); margin-bottom: 8px; }
.step-content p { color: var(--grey-light); font-size: 0.9rem; }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industry-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.industry-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 28px 20px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 12px;
  cursor: default;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.industry-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.ind-icon { font-size: 2rem; }
.industry-card span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem; font-weight: 600;
  color: var(--navy);
}

/* ============================================================
   IMPACT / SUSTAINABILITY
   ============================================================ */
.impact-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.impact-card {
  background: rgba(78, 91, 76, 0.08);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.2s;
}
.impact-card:hover { transform: translateY(-4px); }
.impact-icon { font-size: 2.2rem; margin-bottom: 16px; }
.impact-card h4 {
  color: var(--navy);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem; margin-bottom: 10px;
}
.impact-card p { color: var(--navy); font-size: 0.88rem; opacity: 0.75; }
.dark-text { color: var(--navy) !important; }

/* ============================================================
   SAVINGS CALCULATOR
   ============================================================ */
.calc-wrapper {
  background: var(--navy-light);
  border: 1px solid rgba(95,76,45,0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.calc-form { padding: 40px; }
.calc-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-bottom: 20px;
}
.calc-field { display: flex; flex-direction: column; gap: 8px; }
.calc-field label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem; font-weight: 600;
  color: var(--grey-light);
  letter-spacing: 0.04em;
}
.calc-field input, .calc-field select {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(95,76,45,0.16);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.18s;
  -webkit-appearance: none;
}
.calc-field input::placeholder { color: var(--grey); }
.calc-field input:focus, .calc-field select:focus { border-color: var(--gold); }
.calc-field select option { background: #FFFFFF; color: var(--ink); }

.calc-btn-field { justify-content: flex-end; }
.calc-btn { width: 100%; margin-top: auto; }

.calc-results {
  background: rgba(245,130,31,0.06);
  border-top: 1px solid rgba(245,130,31,0.2);
  padding: 40px;
}
.calc-placeholder { text-align: center; padding: 20px 0; }
.calc-sun { font-size: 3rem; margin-bottom: 16px; }
.calc-placeholder p { color: var(--grey); }

.calc-output { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.calc-metric {
  background: rgba(255,255,255,0.72);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.cm-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem; font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.cm-label {
  font-size: 0.8rem; color: var(--grey);
  font-family: 'Space Grotesk', sans-serif;
}
.calc-note { 
  margin-top: 20px; text-align: center;
  font-size: 0.8rem; color: var(--grey);
}
.calc-cta-wrap { text-align: center; margin-top: 24px; }

/* ============================================================
   VISION
   ============================================================ */
.vision-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.vision-inner h2 { color: var(--navy); margin-bottom: 28px; }
.vision-text { font-size: 1.1rem; color: var(--text-body); margin-bottom: 16px; }

.vision-pillars {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
  margin-top: 40px;
}
.pillar {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--line-warm);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem; font-weight: 600;
  padding: 12px 22px;
  border-radius: 100px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start;
}
.contact-left h2 { color: var(--white); margin-bottom: 20px; }
.contact-left p { color: var(--grey-light); margin-bottom: 32px; }
.contact-promise { display: flex; flex-direction: column; gap: 10px; }
.promise-item {
  color: var(--gold);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem; font-weight: 500;
}

/* ---- CONTACT FORM SELECT ---- */

.contact-form select {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(95, 76, 45, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s;
}

.contact-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 168, 0, 0.12);
}

.contact-form select:invalid {
  color: var(--grey);
}

.contact-form select option {
  color: var(--text-dark);
  background: #ffffff;
}


/* ---- CONTACT FORM ERROR ---- */

.form-error {
  margin: 16px 0;
  padding: 12px 16px;
  border-radius: var(--radius);
  background: rgba(255, 107, 107, 0.10);
  border: 1px solid rgba(255, 107, 107, 0.30);
  color: #C0392B;
  font-size: 0.88rem;
  line-height: 1.5;
}


/* ---- CONTACT FORM SUBMIT STATE ---- */

.form-submit:disabled {
  transform: none !important;
  box-shadow: none !important;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;

  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #25D366;
  color: #ffffff;

  border-radius: 50%;

  text-decoration: none;

  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.20);

  z-index: 9999;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);

  box-shadow:
    0 8px 26px rgba(0, 0, 0, 0.28);
}

.whatsapp-icon {
  font-size: 29px;
  line-height: 1;
}

/* Mobile */
@media (max-width: 768px) {
  .whatsapp-float {
    right: 18px;
    bottom: 18px;

    width: 54px;
    height: 54px;
  }

  .whatsapp-icon {
    font-size: 27px;
  }
}



.contact-form-wrap {
  background: var(--navy-light);
  border: 1px solid rgba(95,76,45,0.12);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 0; }
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 16px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { margin-bottom: 20px; }
.form-field label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  color: var(--grey);
  letter-spacing: 0.05em; text-transform: uppercase;
}
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(95,76,45,0.14);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.18s;
  resize: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--grey); }
.form-field input:focus,
.form-field textarea:focus { border-color: var(--gold); }
.form-submit { width: 100%; font-size: 1rem; padding: 15px 32px; margin-top: 4px; }

.form-success {
  text-align: center; padding: 40px;
}
.success-icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h4 { color: var(--white); font-size: 1.3rem; margin-bottom: 10px; }
.form-success p { color: var(--grey-light); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #FFF4E3;
  padding: 72px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .logo { margin-bottom: 20px; display: flex; }
.footer-desc { color: var(--grey); font-size: 0.9rem; max-width: 280px; }
.footer-links h5 { color: var(--grey); margin-bottom: 20px; font-size: 0.75rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.18s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(95,76,45,0.08);
  padding: 24px 0;
  text-align: center;
}
.footer-bottom p { color: var(--grey); font-size: 0.82rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .solutions-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section-light, .section-dark, .section-gold { padding: 72px 0; }

  /* Nav mobile */
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
  }
  .nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--white); border-radius: 2px;
    transition: all 0.3s;
  }
  .nav-links {
    position: fixed; top: 0; right: -100%;
    width: 75vw; max-width: 320px; height: 100vh;
    background: #FFFFFF;
    flex-direction: column; align-items: flex-start;
    padding: 80px 32px 40px;
    gap: 28px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 24px rgba(95, 76, 45, 0.12);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1rem; }
  .nav-cta { padding: 10px 20px; }

  /* Hero */
  .hero-stats { gap: 24px; padding: 24px 20px; }
  .stat-num { font-size: 2rem; }
  .stat-divider { display: none; }
  .hero-ctas { flex-direction: column; align-items: center; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .get-solar-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Solutions */
  .solutions-grid { max-width: 100%; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; }

  /* Steps */
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }

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

  /* Impact */
  .impact-grid { grid-template-columns: 1fr 1fr; }

  /* Calculator */
  .calc-row { grid-template-columns: 1fr; }
  .calc-output { grid-template-columns: 1fr 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .industry-grid { grid-template-columns: 1fr 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .calc-output { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-card-grid { grid-template-columns: 1fr 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ray, .scroll-line { animation: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}


/* ============================================================
   SKYX LIGHT SOLAR BRAND THEME — final visual layer
   Inspired by the attached SKYX logo and sunrise reference.
   No navy/blue backgrounds: white, cream, peach, warm sand +
   restrained solar orange and natural green accents.
   ============================================================ */

:root {
  --brand-orange: #F5A800;
  --brand-orange-deep: #D98900;
  --brand-green: #5D9957;
  --brand-green-soft: #EEF6EA;
  --warm-white: #FFFDF9;
  --cream: #FFF7EA;
  --peach: #FFF0DA;
  --sand: #F3E6D3;
  --ink: #26343A;
  --body-ink: #5D625E;
  --line-warm: #E8DCCB;
}

body {
  background: var(--warm-white);
  color: var(--body-ink);
}

.section-light,
.section-dark,
.section-gold {
  padding: 92px 0;
}

.section-light { background: var(--warm-white); }
.section-dark { background: var(--cream); }
.section-gold { background: var(--peach); }

.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark p,
.section-dark .section-sub,
.section-dark .step-content h4,
.section-dark .step-content p {
  color: var(--ink);
}

.section-dark .section-eyebrow,
.section-dark .section-eyebrow.light {
  color: var(--brand-green);
}

.section-gold h2,
.section-gold h3,
.section-gold p {
  color: var(--ink);
}

/* Logo */
.logo-image {
  display: block;
  width: 154px;
  height: auto;
  object-fit: contain;
}
.footer .logo-image {
  width: 142px;
}
.logo { min-width: 0; }

/* Navigation: clean white, never dark */
.nav-header {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(93,76,45,0.10);
}
.nav-header.scrolled {
  background: rgba(255,255,255,0.98);
  padding: 11px 0;
  box-shadow: 0 4px 20px rgba(93,76,45,0.10);
}
.nav-links a {
  color: var(--ink);
}
.nav-links a:hover,
.nav-links a.active-link {
  color: var(--brand-orange-deep) !important;
}
.nav-cta {
  background: var(--brand-orange) !important;
  color: var(--ink) !important;
}
.nav-toggle span { background: var(--ink); }

/* Hero: image-led, with a soft warm reading zone rather than a dark overlay */
.hero {
  min-height: 86vh;
  padding: 130px 24px 80px;

  /* FULL IMAGE — NO WHITE GRADIENT */
  background-image: url("../images/hero-bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero-content {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}
.hero-headline {
  color: var(--ink);
  max-width: 650px;
}
.hero-sub {
  color: var(--body-ink);
  margin-left: 0;
  max-width: 560px;
}
.headline-gold { color: var(--brand-orange); }
.hero-badge {
  background: rgba(245,168,0,0.12);
  border-color: rgba(245,168,0,0.28);
  color: var(--brand-orange-deep);
}
.hero-rays { opacity: .35; }
.hero-ctas { justify-content: center; }
.btn-primary {
  background: var(--brand-orange);
  color: var(--ink);
}
.btn-primary:hover { background: var(--brand-orange-deep); }
.btn-ghost {
  color: var(--ink);
  border-color: var(--line-warm);
  background: rgba(255,255,255,0.72);
}
.btn-ghost:hover {
  color: var(--ink);
  border-color: var(--brand-orange);
  background: #fff8eb;
}
.hero-stats {
  justify-content: flex-start;
  width: fit-content;
  background: rgba(255,255,255,0.82);
  border-color: rgba(93,76,45,0.12);
  box-shadow: var(--shadow);
}
.stat-num,
.stat-unit { color: var(--brand-orange-deep); }
.stat-label { color: var(--body-ink); }
.stat-divider { background: var(--line-warm); }
.hero-scroll-hint { color: var(--body-ink); }
.scroll-line { background: linear-gradient(to bottom, var(--brand-orange), transparent); }

/* Get Solar for: clean, premium cards */
.get-solar { background: #fff; }
.get-solar-item:hover {
  background: var(--cream);
  box-shadow: 0 12px 28px rgba(112,88,45,.08);
}
.gs-icon {
  background: var(--brand-green-soft);
  box-shadow: none;
  border: 1px solid #D8E8D3;
}
.gs-copy h4 { color: var(--ink); }
.gs-arrow { color: var(--brand-orange-deep); }

/* About */
.about-text h2,
.why-card h4,
.industry-card span,
.vision-inner h2 {
  color: var(--ink);
}
.about-card {
  box-shadow: 0 8px 24px rgba(112,88,45,.07);
}
.about-card-gold {
  background: var(--cream);
  border-color: #F1D49F;
}
.about-tagline {
  background: var(--brand-green-soft);
  color: var(--brand-green);
  border: 1px solid #D8E8D3;
}

/* Solutions: replace dark panel with a warm editorial section */
.solutions {
  background: var(--cream);
}
.solutions-grid { align-items: stretch; }
.solution-card {
  background: #fff;
  border: 1px solid var(--line-warm);
  box-shadow: 0 8px 28px rgba(112,88,45,.07);
}
.solution-card:hover {
  border-color: #F0C66F;
  box-shadow: 0 14px 34px rgba(112,88,45,.11);
}
.solution-featured {
  background: linear-gradient(145deg, #FFFDF9, #FFF1D9);
  border-color: #F0D39D;
}
.solution-card h3 { color: var(--ink); }
.solution-card > p { color: var(--body-ink); }
.sol-benefits li {
  color: var(--body-ink);
  border-bottom-color: var(--line-warm);
}
.sol-tagline { color: var(--brand-green); }
.sol-badge { color: var(--ink); background: var(--brand-orange); }
.ideal-label { color: var(--brand-green); }
.ideal-tags span {
  background: var(--brand-green-soft);
  color: #4E704A;
}

/* Why */
.why { background: #fff; }
.why-card { background: #fff; border-color: var(--line-warm); }
.why-card:hover { border-color: var(--brand-orange); }
.why-num { color: rgba(245,168,0,.55); }

/* How it works */
.how {
  background: var(--brand-green-soft);
}
.step-dot {
  background: var(--brand-orange);
  box-shadow: 0 6px 16px rgba(245,168,0,.18);
}
.step-dot span { color: var(--ink); }
.step-content h4 { color: var(--ink); }
.step-content p { color: var(--body-ink); }
.steps-line { background: var(--line-warm); }

/* Industries */
.industries { background: var(--warm-white); }
.industry-card {
  background: #fff;
  border-color: var(--line-warm);
}
.industry-card:hover { border-color: var(--brand-green); }

/* Calculator */
.calculator {
  background: var(--peach);
}
.calc-wrapper {
  background: #fff;
  border: 1px solid var(--line-warm);
  box-shadow: 0 12px 34px rgba(112,88,45,.08);
}
.calc-field label { color: var(--ink); }
.calc-field input,
.calc-field select {
  background: #FFFCF7;
  border: 1px solid var(--line-warm);
  color: var(--ink);
}
.calc-field input::placeholder { color: #A39B90; }
.calc-field select option { background: #fff; color: var(--ink); }
.calc-results {
  background: var(--brand-green-soft);
  border-top-color: #D8E8D3;
}
.calc-placeholder p,
.calc-note,
.cm-label { color: var(--body-ink); }
.calc-metric {
  background: #fff;
  border: 1px solid #DDEAD9;
}
.cm-value { color: var(--brand-orange-deep); }

/* Vision */
.vision { background: #fff; }
.pillar {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--line-warm);
}

/* Contact */
.contact {
  background: var(--cream);
}
.contact-left h2,
.contact-left p {
  color: var(--ink);
}
.promise-item { color: var(--brand-green); }
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--line-warm);
  box-shadow: 0 12px 32px rgba(112,88,45,.08);
}
.form-field label { color: var(--ink); }
.form-field input,
.form-field select,
.form-field textarea {
  background: #FFFCF7;
  border: 1px solid var(--line-warm);
  color: var(--ink);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #A39B90; }
.form-success h4,
.form-success p { color: var(--ink); }

/* Footer: light, not navy */
.footer {
  background: #FFF4E3;
  border-top: 1px solid #EAD8BF;
}
.footer-desc,
.footer-links h5,
.footer-bottom p { color: var(--body-ink); }
.footer-links a { color: #5E655F; }
.footer-links a:hover { color: var(--brand-orange-deep); }
.footer-bottom { border-top-color: var(--line-warm); }

/* Keep all page backgrounds light even if old classes are reused */
.section-dark,
.section-gold,
.nav-links {
  color: var(--ink);
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    background: #fff;
    box-shadow: -8px 0 30px rgba(93,76,45,.12);
  }
  .nav-links a { color: var(--ink); }
  .hero {
    min-height: 90vh;
    background:
      linear-gradient(180deg,
        rgba(255,253,249,.96) 0%,
        rgba(255,250,240,.86) 42%,
        rgba(255,255,255,.12) 78%),
      url("../images/hero-bg.png");
    background-position: 62% center;
  }
  .hero-content { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-stats { width: 100%; justify-content: center; }
}

.about-card-gold .ac-label { color: var(--ink); }

.section-eyebrow.light {
  font-size: 2rem;
}

/* ============================================================
   SKYX HERO — FINAL IMAGE FIX
   Show more of the original hero image
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;

  /* Account for fixed navbar */
  margin-top: 72px;

  /* Hero height */
  min-height: 620px;
  height: calc(100vh - 72px);

  padding: 80px 24px;

  background-image: url("../images/hero-bg.png");

  /*
     IMPORTANT:
     contain = prevents cropping
  */
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1180px;
  margin: 0 auto;

  text-align: center;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {

  .hero {
    margin-top: 64px;

    min-height: 650px;
    height: auto;

    padding: 80px 20px 60px;

    background-size: cover;
    background-position: center center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-ctas {
    justify-content: center;
    align-items: center;
  }
}


/* ============================================================
   ADVANCED SOLAR CALCULATOR
   ============================================================ */

.calc-field small {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  color: #5F6F63;
  line-height: 1.4;
}

.optional-label {
  display: inline-block;
  margin-left: 5px;
  font-size: 0.68rem;
  font-weight: 500;
  color: #5F6F63;
  opacity: 0.85;
}

.calc-action {
  margin-top: 24px;
  text-align: center;
}

.calc-action .calc-btn {
  min-width: 260px;
}

.calc-disclaimer {
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: #F3F8F0;
  color: #526158;
  font-size: 0.74rem;
  line-height: 1.6;
}

.calc-result-header {
  margin-bottom: 24px;
}

.calc-result-header h3 {
  margin-top: 8px;
  color: #173B2A;
}

/* ============================================================
   RESULT CARDS
   ============================================================ */

.calc-output {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.calc-metric {
  padding: 20px;
  border-radius: 12px;

  /* Clean light background */
  background: #F7FAF5;

  /* Subtle green border */
  border: 1px solid #DDE8D9;

  text-align: center;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.calc-metric:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(35, 75, 50, 0.08);
}

.calc-metric-wide {
  grid-column: 1 / -1;
}

.cm-icon {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

/* Main result number */
.cm-value {
  font-size: 1.45rem;
  font-weight: 700;
  color: #F5AE1D;
  line-height: 1.2;
}

/* Text underneath the number */
.cm-label {
  margin-top: 7px;
  font-size: 0.76rem;
  font-weight: 600;

  /* DARK GREEN — clearly visible */
  color: #173B2A !important;

  line-height: 1.4;
}

/* ============================================================
   CALCULATOR DETAILS
   ============================================================ */

.calc-details {
  margin-top: 20px;
  padding: 16px;

  border-radius: 10px;

  background: #F3F8F0;
  border: 1px solid #DDE8D9;

  color: #526158;

  font-size: 0.78rem;
  line-height: 1.8;
}

.calc-details strong {
  color: #173B2A;
}

.calc-roof-warning {
  margin-top: 8px;
  padding: 8px 10px;

  border-radius: 6px;

  background: #FFF7DD;
  color: #8A6100;

  border: 1px solid #F0D98A;
}

.calc-note {
  margin-top: 18px;

  font-size: 0.72rem;
  line-height: 1.6;

  color: #5F6F63;
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 700px) {

  .calc-output {
    grid-template-columns: 1fr;
  }

  .calc-metric-wide {
    grid-column: auto;
  }

  .calc-action .calc-btn {
    width: 100%;
    min-width: 0;
  }

}


/* ============================================================
   SKYX HERO CTA — FINAL BUTTON POSITION
   Desktop: keep buttons near the lower-left/center area.
   Mobile: move both buttons to the lower-left area of the
   hero image, matching the highlighted position.
   ============================================================ */

.hero {
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.hero-ctas {
  position: absolute;
  left: 30%;
  bottom: 45px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  width: max-content;
  margin: 0;
  z-index: 10;
}

/* Keep the buttons attractive and readable */
.hero-ctas .btn-primary,
.hero-ctas .btn-ghost {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   MOBILE ONLY — HERO BUTTONS AT BOTTOM
   ============================================================ */

@media (max-width: 768px) {

  /* Make the HERO the positioning reference */
  .hero {
    position: relative;
  }

  /*
     IMPORTANT:
     Remove .hero-content as the positioning reference.
     This is the main fix.
  */
  .hero-content {
    position: static !important;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
  }

  /* Buttons */
  .hero-ctas {
    position: absolute !important;

    /* Lower-left of the actual HERO */
    left: 20px !important;
    bottom: 130px !important;

    /* Remove desktop centering */
    transform: none !important;

    display: flex !important;
    flex-direction: column !important;

    align-items: flex-start !important;
    justify-content: flex-start !important;

    gap: 12px !important;

    width: max-content !important;
    max-width: calc(100% - 40px) !important;

    margin: 0 !important;

    z-index: 100 !important;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost {
    width: auto !important;
    max-width: calc(100vw - 40px) !important;
    min-height: 52px;

    white-space: nowrap;
  }
}
/* ============================================================
   SKYX HERO — MOBILE FULL IMAGE
   ============================================================ */

@media (max-width: 768px) {

  .hero {
    margin-top: 64px;

    /* Let the vertical image determine the height */
    min-height: 0 !important;
    height: auto !important;

    padding: 0 !important;

    /* Mobile vertical image */
    background-image: url("../images/hero-bg-mobile.png") !important;

    /* SHOW THE COMPLETE IMAGE */
    background-size: 100% auto !important;
    background-position: top center !important;
    background-repeat: no-repeat !important;

    /*
      The image itself determines the visible area.
      Do not use cover here because it crops the image.
    */
    aspect-ratio: 832 / 1792;
  }

  .hero-content {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }

}