/* ============================================
   Eazy Solar — design tokens
   ============================================ */
:root{
  --navy: #0e1726;
  --navy-soft: #16223a;
  --ink: #16223a;
  --ink-soft: #5b6779;
  --paper: #faf8f5;
  --paper-alt: #f1ede6;
  --line: #e7e1d8;
  --orange: #f7941d;
  --orange-deep: #e3690f;
  --gold: #ffc857;
  --sky: #2fb5e0;
  --white: #ffffff;

  --grad-sun: linear-gradient(135deg, var(--gold) 0%, var(--orange) 60%, var(--orange-deep) 100%);
  --grad-sky: linear-gradient(120deg, var(--sky), #5b8def);

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 20px 50px -20px rgba(14, 23, 38, 0.25);
  --shadow-card: 0 12px 30px -16px rgba(14, 23, 38, 0.28);

  --font-display: 'Sora', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4{
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.container{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin: 0 0 14px;
}
.eyebrow-light{ color: var(--gold); }

.text-gradient{
  background: var(--grad-sun);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================
   Buttons
   ============================================ */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary{
  position: relative;
  overflow: hidden;
  background: var(--grad-sun);
  color: var(--navy);
  box-shadow: 0 14px 30px -12px rgba(243, 148, 29, 0.65);
}
.btn-primary::after{
  content: '';
  position: absolute;
  top: 0; left: -65%;
  width: 45%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.6), transparent);
  transform: skewX(-18deg);
  transition: left .65s cubic-bezier(.22,.61,.36,1);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(243, 148, 29, 0.75); }
.btn-primary:hover::after{ left: 130%; }
.btn-ghost{
  background: transparent;
  border-color: rgba(14, 23, 38, 0.18);
  color: var(--navy);
}
.btn-ghost:hover{ border-color: var(--navy); transform: translateY(-2px); }
.btn-lg{ padding: 15px 28px; font-size: 1rem; }
.btn-block{ width: 100%; }

/* ============================================
   Header
   ============================================ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
}
.brand-mark{
  display: inline-flex;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3px rgba(247, 148, 29, 0.45);
  flex: none;
}
.brand-mark img{
  display: block;
  width: 40px;
  height: 40px;
  object-fit: cover;
}
.brand-name{ font-size: 1.25rem; color: var(--navy); }
.brand-name strong{ color: var(--orange-deep); font-weight: 800; }

.main-nav{
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a{ color: var(--ink-soft); transition: color .15s ease; position: relative; white-space: nowrap; }
.main-nav a:hover{ color: var(--navy); }

.header-cta{ display: flex; align-items: center; gap: 18px; flex: none; }
.phone-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  white-space: nowrap;
}
.phone-link svg{ color: var(--orange-deep); }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}
.nav-toggle span{
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity: 0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Hero
   ============================================ */
.hero{
  position: relative;
  overflow: hidden;
  padding: 88px 0 70px;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(247, 148, 29, 0.18), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(47, 181, 224, 0.14), transparent 60%),
    var(--paper);
}
.hero-glow{
  position: absolute;
  inset: -40% -10% auto auto;
  width: 620px;
  height: 620px;
  background: var(--grad-sun);
  filter: blur(140px);
  opacity: .35;
  border-radius: 50%;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference){
  .hero-glow{ animation: glowPulse 9s ease-in-out infinite; }
  .hero-badge{ animation: badgeFloat 6s ease-in-out infinite; }

  .hero-copy > *{ opacity: 0; animation: heroIn .9s cubic-bezier(.22,.61,.36,1) forwards; }
  .hero-copy > *:nth-child(1){ animation-delay: .05s; }
  .hero-copy > *:nth-child(2){ animation-delay: .17s; }
  .hero-copy > *:nth-child(3){ animation-delay: .31s; }
  .hero-copy > *:nth-child(4){ animation-delay: .45s; }
  .hero-copy > *:nth-child(5){ animation-delay: .59s; }
  .hero-visual{ opacity: 0; animation: heroIn 1s cubic-bezier(.22,.61,.36,1) .38s forwards; }
}
@keyframes heroIn{
  from{ opacity: 0; transform: translateY(26px); }
  to{ opacity: 1; transform: translateY(0); }
}
@keyframes glowPulse{
  0%, 100%{ transform: scale(1); opacity: .32; }
  50%{ transform: scale(1.1); opacity: .48; }
}
@keyframes badgeFloat{
  0%, 100%{ transform: translateY(0) rotate(-3deg); }
  50%{ transform: translateY(-10px) rotate(-3deg); }
}
.hero-inner{
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.hero h1{
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin-bottom: 0.4em;
}
.hero-sub{
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 52ch;
  margin: 0 0 28px;
}
.hero-actions{ display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-stats{
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 28px;
}
.hero-stats li{ display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong{ font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); }
.hero-stats span{ font-size: 0.8rem; color: var(--ink-soft); font-weight: 600; }

.hero-visual{ position: relative; }
.hero-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  transform: rotate(2deg);
}
.hero-card img{ border-radius: calc(var(--radius-lg) - 8px); }
.hero-badge{
  position: absolute;
  left: -28px;
  bottom: -28px;
  background: var(--navy);
  color: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 2px;
  transform: rotate(-3deg);
}
.hero-badge-amount{ font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--gold); }
.hero-badge-label{ font-size: 0.78rem; color: rgba(255,255,255,0.75); font-weight: 600; }

/* ============================================
   Sections / general layout
   ============================================ */
.section{ padding: 96px 0; scroll-margin-top: 92px; }
.section-tinted{ background: var(--paper-alt); }
.section-dark{
  background: linear-gradient(160deg, var(--navy) 0%, #1c2c4a 100%);
  color: rgba(255,255,255,0.92);
}
.section-dark h2, .section-dark h3{ color: var(--white); }

.section-head{ max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2{ font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.section-sub{ color: var(--ink-soft); font-size: 1.02rem; }
.section-head-light .section-sub{ color: rgba(255,255,255,0.7); }

/* ============================================
   About
   ============================================ */
.about-grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-media{ position: relative; }
.about-blob{
  position: absolute;
  inset: -10% -14%;
  background: var(--grad-sun);
  opacity: .2;
  filter: blur(60px);
  border-radius: 50%;
  z-index: 0;
}
.about-media img{
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}
.video-frame{
  max-width: 880px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  background: var(--ink);
}
.video-frame video{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
}
.about-points{ display: grid; gap: 22px; margin-top: 28px; }
.point{ display: flex; gap: 16px; align-items: flex-start; }
.point-icon{
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--paper-alt);
  font-size: 1.3rem;
}
.point h3{ font-size: 1.05rem; margin-bottom: .25em; }
.point p{ margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ============================================
   Packages
   ============================================ */
.filter-bar{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .15s ease;
}
.filter-btn:hover{ color: var(--navy); border-color: var(--navy); }
.filter-btn.is-active{
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.package-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.package-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
  overflow: hidden;
}
.package-card:hover{ transform: translateY(-4px); box-shadow: 0 20px 44px -18px rgba(14,23,38,.32); }
.package-card.is-featured{ border-color: var(--orange); }
.package-card.is-featured::before{
  content: 'Most Popular';
  position: absolute;
  top: 14px;
  right: -34px;
  transform: rotate(40deg);
  background: var(--grad-sun);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 38px;
  box-shadow: 0 6px 16px -6px rgba(243,148,29,.6);
}
.package-kw{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
}
.package-kw span{ font-size: 0.95rem; font-weight: 600; color: var(--ink-soft); }
.package-meta{
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.package-meta strong{ color: var(--ink); }
.package-price{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--orange-deep);
}
.package-price small{
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.package-card .btn{ margin-top: auto; }

/* ============================================
   What's Included
   ============================================ */
.included-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.included-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.included-card-highlight{
  background: var(--grad-sun);
  border-color: transparent;
}
.included-card-highlight h3, .included-card-highlight li{ color: var(--navy); }
.included-icon{ font-size: 1.6rem; margin-bottom: 12px; }
.included-card h3{ font-size: 1.05rem; }
.included-card ul{ display: grid; gap: 6px; margin-top: 8px; }
.included-card li{ font-size: 0.92rem; color: var(--ink-soft); padding-left: 18px; position: relative; }
.included-card li::before{
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
}
.included-card-highlight li::before{ background: var(--navy); }
.included-card-highlight li{ color: rgba(14,23,38,.85); }

/* ============================================
   Why Us
   ============================================ */
.why-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.why-card{
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 28px;
}
.why-number{
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 10px;
}
.why-card h3{ font-size: 1.08rem; }
.why-card p{ margin: 0; color: rgba(255,255,255,0.72); font-size: 0.94rem; }

/* ============================================
   Gallery + Lightbox
   ============================================ */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.gallery-item{
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: zoom-in;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.gallery-item img{
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-item:hover img{ transform: scale(1.06); }

.lightbox{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(14, 23, 38, 0.86);
  backdrop-filter: blur(6px);
  padding: 40px;
}
.lightbox.is-open{ display: flex; }
.lightbox img{
  max-width: min(720px, 100%);
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
}
.lightbox-close{
  position: absolute;
  top: 24px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* ============================================
   Contact / CTA
   ============================================ */
.section-cta{
  background:
    radial-gradient(700px 380px at 90% 0%, rgba(255, 200, 87, 0.16), transparent 60%),
    var(--paper-alt);
}
.cta-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.cta-copy h2{ font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-copy .eyebrow{ color: var(--orange-deep); }
.cta-copy p{ color: var(--ink-soft); max-width: 50ch; }
.cta-contact-list{ display: grid; gap: 14px; margin-top: 26px; }
.cta-contact-item{
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 0.95rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cta-contact-item:hover{ transform: translateY(-2px); box-shadow: var(--shadow-card); }
.cta-contact-icon{ font-size: 1.4rem; }

.quote-form{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 16px;
}
.quote-form h3{ margin-bottom: 4px; }
.form-row{ display: grid; gap: 6px; }
.form-row label{ font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); }
.form-row input,
.form-row select,
.form-row textarea{
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  resize: vertical;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus{
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(247, 148, 29, 0.15);
}
.form-note{ font-size: 0.8rem; color: var(--ink-soft); margin: 0; text-align: center; }
.form-note.is-success{ color: #1f8a4c; font-weight: 700; }

/* ============================================
   Footer
   ============================================ */
.site-footer{ background: var(--navy); color: rgba(255,255,255,0.7); }
.footer-inner{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding: 64px 24px 40px;
}
.footer-brand-mark{ display: inline-flex; align-items: center; gap: 10px; }
.footer-brand .brand-name{ color: var(--white); font-size: 1.3rem; }
.footer-brand p{ max-width: 36ch; margin-top: 10px; font-size: 0.92rem; }
.footer-links{ display: flex; gap: 64px; flex-wrap: wrap; }
.footer-links h4{ color: var(--white); font-size: 0.85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links a{ display: block; padding: 5px 0; font-size: 0.92rem; transition: color .15s ease; }
.footer-links a:hover{ color: var(--gold); }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  font-size: 0.82rem;
  text-align: center;
}

/* ============================================
   Scroll-reveal
   ============================================ */
@media (prefers-reduced-motion: no-preference){
  .reveal{
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
    transition-delay: var(--reveal-delay, 0s);
  }
  .reveal.is-visible{
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; max-width: 480px; margin: 0 auto; }
  .about-grid{ grid-template-columns: 1fr; }
  .about-media{ max-width: 480px; margin: 0 auto; }
  .cta-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 1140px){
  .main-nav{
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 18px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
  }
  .main-nav.is-open{ transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a{ padding: 10px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child{ border-bottom: none; }
  .header-cta .phone-link{ display: none; }
  .nav-toggle{ display: flex; }
  .hero-stats{ grid-template-columns: repeat(2, auto); }
}

@media (max-width: 540px){
  .header-cta .btn{ padding: 10px 16px; font-size: 0.85rem; }
  .hero{ padding: 56px 0 48px; }
  .section{ padding: 64px 0; }
  .hero-badge{ left: 12px; bottom: -20px; }
  .hero-card{ transform: none; }
}
