/* =============================================
   SunRaiser — Main Stylesheet
   www.sunraiser.org
   ============================================= */

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sun:   #F7B731;
  --amber: #E67E22;
  --sky:   #1A3A4A;
  --deep:  #0D1F2D;
  --cream: #FDF6E3;
  --white: #FFFFFF;
  --steel: #8FA5B2;
}

html { scroll-behavior: smooth; }

body {
  background: var(--deep);
  color: var(--cream);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* SKIP LINK (accessibility) */
.skip-link {
  position: absolute;
  top: -999px; left: 0;
  background: var(--sun);
  color: var(--deep);
  padding: 0.5rem 1rem;
  font-weight: 700;
  z-index: 9999;
}
.skip-link:focus { top: 0; }

/* =============================================
   NAVIGATION
   ============================================= */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 3rem;
  background: rgba(13,31,45,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(247,183,49,0.15);
  transition: padding 0.3s;
}
nav.scrolled { padding: 0.8rem 3rem; }

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--sun);
  letter-spacing: 0.08em;
  text-decoration: none;
}
.logo span { color: var(--white); }

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
nav a {
  color: var(--steel);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}
nav a:hover, nav a:focus { color: var(--sun); outline: none; }
nav a:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 2px; }

.nav-cta {
  background: var(--sun);
  color: var(--deep) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--amber) !important; color: var(--white) !important; }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  display: inline-block;
  background: var(--sun);
  color: var(--deep);
  padding: 1rem 2.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230,126,34,0.3);
}
.btn-primary:focus-visible { outline: 2px solid var(--sun); outline-offset: 4px; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 1rem 2.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--sun); color: var(--sun); }
.btn-outline:focus-visible { outline: 2px solid var(--sun); outline-offset: 4px; }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 2rem 5rem;
  text-align: center;
}

.sun-bg {
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247,183,49,0.22) 0%, rgba(230,126,34,0.08) 40%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -58%);
  animation: pulse 6s ease-in-out infinite;
}
.sun-ring {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(247,183,49,0.12);
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  animation: ring-pulse 6s ease-in-out infinite 1s;
}
.sun-ring2 {
  position: absolute;
  width: 750px; height: 750px;
  border-radius: 50%;
  border: 1px solid rgba(247,183,49,0.06);
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  animation: ring-pulse 6s ease-in-out infinite 2s;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: translate(-50%, -58%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -58%) scale(1.04); }
}
@keyframes ring-pulse {
  0%, 100% { opacity: 1; transform: translate(-50%, -60%) scale(1); }
  50% { opacity: 0.5; transform: translate(-50%, -60%) scale(1.06); }
}

.rays {
  position: absolute;
  width: 900px; height: 900px;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  animation: spin 60s linear infinite;
}
.rays::before, .rays::after {
  content: '';
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent 30%, rgba(247,183,49,0.15), transparent 70%);
  transform-origin: center;
}
.rays::before { transform: rotate(30deg); }
.rays::after  { transform: rotate(75deg); }
@keyframes spin { to { transform: translate(-50%, -60%) rotate(360deg); } }

.landscape {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 220px;
  overflow: hidden;
}
.landscape::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: var(--sky);
  clip-path: polygon(0% 100%, 0% 60%, 5% 40%, 12% 50%, 18% 20%, 25% 35%, 30% 15%, 38% 30%, 45% 60%, 55% 40%, 62% 55%, 70% 25%, 76% 42%, 85% 10%, 92% 30%, 100% 45%, 100% 100%);
  opacity: 0.4;
}
.landscape::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to top, var(--deep), transparent);
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 900px;
  animation: fadeUp 1.2s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--sun);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  display: flex; align-items: center; justify-content: center; gap: 1rem;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  display: block; width: 50px; height: 1px;
  background: var(--sun); opacity: 0.5;
}

h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 14vw, 11rem);
  line-height: 0.88;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 0.3em;
}
h1 .accent { color: var(--sun); }

.hero-sub {
  font-size: 1.3rem;
  color: var(--steel);
  max-width: 540px;
  margin: 1.5rem auto 2.5rem;
  line-height: 1.7;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   STATS
   ============================================= */
.stats {
  background: var(--sky);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  border-top: 3px solid var(--sun);
}
.stat {
  text-align: center;
  padding: 2.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: var(--sun);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 0.4rem;
}

/* =============================================
   SECTION SHARED
   ============================================= */
.section-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 0.8rem;
}

h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 1.5rem;
}

/* =============================================
   MISSION
   ============================================= */
.mission {
  padding: 7rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.mission-text p {
  color: var(--steel);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.mission-text p strong { color: var(--cream); font-weight: 600; }

.solar-card {
  background: linear-gradient(135deg, var(--sky), rgba(26,58,74,0.6));
  border: 1px solid rgba(247,183,49,0.2);
  border-radius: 4px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.solar-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--sun), transparent);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-bottom: 2rem;
}
.panel-cell {
  aspect-ratio: 1;
  background: rgba(247,183,49,0.08);
  border: 1px solid rgba(247,183,49,0.2);
  border-radius: 2px;
  animation: glow-cell 3s ease-in-out infinite;
}
.panel-cell:nth-child(odd)  { animation-delay: 0.4s; }
.panel-cell:nth-child(3n)   { animation-delay: 0.8s; }
@keyframes glow-cell {
  0%, 100% { background: rgba(247,183,49,0.08); }
  50%       { background: rgba(247,183,49,0.25); }
}

.progress-section { text-align: left; }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--steel);
  margin-bottom: 0.4rem;
}
.progress-label .pct { color: var(--sun); }
.progress-bar {
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  height: 6px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--sun));
  border-radius: 2px;
  animation: progress 2s ease forwards;
}
@keyframes progress { from { width: 0; } }
.card-footer-note {
  color: var(--steel);
  font-size: 0.8rem;
  margin-top: 0.5rem;
  text-align: center;
}

/* =============================================
   PROGRAMS
   ============================================= */
.programs {
  background: #0A1A24;
  padding: 7rem 3rem;
}
.programs-inner { max-width: 1100px; margin: 0 auto; }
.programs-header { text-align: center; margin-bottom: 4rem; }
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.program-card {
  background: var(--sky);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
  opacity: 0;
  transform: translateY(30px);
}
.program-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s;
}
.program-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(247,183,49,0.3);
}
.program-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--sun);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}
.program-card:hover::after { transform: scaleX(1); }

.program-icon { font-size: 2.5rem; margin-bottom: 1.2rem; }

.program-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.8rem;
  letter-spacing: 0.04em;
}
.program-card p { color: var(--steel); line-height: 1.7; font-size: 0.95rem; }

/* =============================================
   TESTIMONIAL
   ============================================= */
.quote-section {
  padding: 6rem 3rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
blockquote {
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--cream);
  line-height: 1.5;
  margin-bottom: 2rem;
  position: relative;
  padding-top: 2rem;
}
blockquote::before {
  content: '\201C';
  font-family: 'Bebas Neue', sans-serif;
  font-size: 8rem;
  color: var(--sun);
  opacity: 0.3;
  position: absolute;
  top: -2rem; left: -1rem;
  line-height: 1;
}
cite {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--steel);
  font-style: normal;
}
cite strong { color: var(--sun); }

/* =============================================
   HOW IT WORKS
   ============================================= */
.how {
  background: #0A1A24;
  padding: 7rem 3rem;
}
.how-inner { max-width: 1100px; margin: 0 auto; }
.how-header { text-align: center; margin-bottom: 4rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 2.4rem; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sun), transparent);
  opacity: 0.3;
}

.step {
  padding: 2rem;
  text-align: center;
}
.step-num {
  width: 5rem; height: 5rem;
  border-radius: 50%;
  border: 2px solid var(--sun);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--sun);
  margin: 0 auto 1.5rem;
  background: var(--deep);
  position: relative; z-index: 1;
}
.step h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.step p { color: var(--steel); font-size: 0.9rem; line-height: 1.6; }

/* =============================================
   APPLY SECTION
   ============================================= */
.apply-section {
  padding: 7rem 3rem;
  background: var(--deep);
  position: relative;
}
.apply-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at top left, rgba(247,183,49,0.05), transparent 60%);
  pointer-events: none;
}
.apply-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.apply-inner > p {
  color: var(--steel);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.apply-form { display: flex; flex-direction: column; gap: 1.2rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}
.required { color: var(--sun); }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(26,58,74,0.6);
  border: 1px solid rgba(143,165,178,0.2);
  padding: 0.9rem 1rem;
  color: var(--cream);
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  border-radius: 2px;
  transition: border-color 0.2s;
  width: 100%;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(143,165,178,0.4); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--sun); }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238FA5B2' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; cursor: pointer; }
.form-group select option { background: var(--sky); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit { text-align: center; padding-top: 0.5rem; }
.form-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(143,165,178,0.5);
}

/* =============================================
   DONATE
   ============================================= */
.donate {
  padding: 7rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--sky);
}
.donate::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center, rgba(247,183,49,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.donate-inner {
  position: relative; z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.donate p {
  color: var(--steel);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.amount-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.amount-btn {
  padding: 0.8rem 1.8rem;
  border: 1px solid rgba(247,183,49,0.4);
  background: transparent;
  color: var(--cream);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  border-radius: 2px;
}
.amount-btn:hover,
.amount-btn.active {
  background: var(--sun);
  border-color: var(--sun);
  color: var(--deep);
}
.amount-btn:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 3px;
}

#other-input-wrap {
  margin-bottom: 1.2rem;
}
.other-input-row {
  display: flex;
  align-items: center;
  justify-content: center;
}
.dollar-sign {
  background: rgba(26,58,74,0.8);
  border: 1px solid rgba(247,183,49,0.4);
  border-right: none;
  padding: 0.75rem 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  color: var(--sun);
  font-weight: 700;
  border-radius: 2px 0 0 2px;
}
#other-amount {
  background: rgba(26,58,74,0.8);
  border: 1px solid rgba(247,183,49,0.4);
  border-left: none;
  padding: 0.75rem 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  color: var(--cream);
  width: 180px;
  outline: none;
  -moz-appearance: textfield;
  border-radius: 0 2px 2px 0;
}
#other-amount:focus { border-color: var(--sun); }
#other-amount::-webkit-outer-spin-button,
#other-amount::-webkit-inner-spin-button { -webkit-appearance: none; }

.impact-note {
  font-size: 0.9rem;
  color: var(--steel);
  margin-bottom: 2rem;
  min-height: 1.4rem;
  transition: opacity 0.3s;
}
.impact-note span { color: var(--sun); font-weight: 600; }

.tax-note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(143,165,178,0.5);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: #050E15;
  padding: 4rem 3rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .logo { display: block; margin-bottom: 1rem; font-size: 2.5rem; }
.footer-brand > p {
  color: var(--steel);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 1rem;
}
.footer-contact a {
  color: var(--steel);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-block;
  line-height: 1.8;
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--sun); }

.footer-col h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a {
  color: var(--steel);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(143,165,178,0.4);
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--steel); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .mission {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 5rem 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  nav.scrolled { padding: 0.7rem 1.5rem; }

  .nav-toggle { display: flex; }

  nav ul {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(13,31,45,0.98);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(247,183,49,0.15);
  }
  nav ul.open { display: flex; }
  nav ul li a {
    display: block;
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }
  .nav-cta { margin: 0.5rem 2rem; display: block; text-align: center; }

  .hero { padding: 6rem 1.5rem 4rem; }
  .hero-eyebrow::before, .hero-eyebrow::after { width: 25px; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.07); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }

  .programs, .how, .donate, .apply-section { padding: 5rem 1.5rem; }
  .quote-section { padding: 4rem 1.5rem; }

  .steps::before { display: none; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .solar-card { padding: 2rem; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; max-width: 280px; text-align: center; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
