/* ===== Araya Renewables — Global Styles ===== */
:root{
  --navy: #16324a;
  --navy-light: #1f4364;
  --green-dark: #1e7d32;
  --green: #2e9e44;
  --green-light: #66bb6a;
  --teal: #0d9d6d;
  --gold: #ffb300;
  --gold-light: #ffe082;
  --bg: #f6f9f7;
  --bg-alt: #eef4ee;
  --text: #22333f;
  --text-muted: #5b6b73;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 50, 74, 0.08);
  --shadow-lg: 0 20px 45px rgba(22, 50, 74, 0.14);
}

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

html{scroll-behavior:smooth;}

body{
  font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.65;
  overflow-x:hidden;
}

img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;}
section{padding:88px 0;}
.container{width:min(1180px, 92%);margin:0 auto;}

h1,h2,h3,h4{
  font-family:'Poppins', 'Segoe UI', sans-serif;
  color:var(--navy);
  font-weight:700;
  line-height:1.25;
}
h2{font-size:clamp(1.8rem, 3vw, 2.5rem);}
h3{font-size:1.3rem;}
p{color:var(--text-muted);}

.eyebrow{
  display:inline-block;
  color:var(--green-dark);
  background:rgba(46,158,68,0.1);
  padding:6px 16px;
  border-radius:50px;
  font-size:0.8rem;
  font-weight:600;
  letter-spacing:0.08em;
  text-transform:uppercase;
  margin-bottom:16px;
}

.section-head{text-align:center;max-width:680px;margin:0 auto 56px;}
.section-head p{margin-top:14px;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 30px;
  border-radius:50px;
  font-weight:600;
  font-size:0.95rem;
  cursor:pointer;
  border:2px solid transparent;
  transition:all .25s ease;
}
.btn-primary{
  background:linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color:var(--white);
  box-shadow:0 8px 20px rgba(30,125,50,0.3);
}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(30,125,50,0.4);}
.btn-outline{
  background:transparent;
  border-color:var(--white);
  color:var(--white);
}
.btn-outline:hover{background:var(--white);color:var(--navy);}
.btn-gold{
  background:linear-gradient(135deg, var(--gold) 0%, #ff9800 100%);
  color:var(--navy);
  box-shadow:0 8px 20px rgba(255,179,0,0.35);
}
.btn-gold:hover{transform:translateY(-3px);}
.btn-navy{
  background:var(--navy);
  color:var(--white);
}
.btn-navy:hover{background:var(--navy-light);}

/* ---------- Header ---------- */
header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(10px);
  box-shadow:0 2px 18px rgba(22,50,74,0.06);
}
.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}
.brand{display:flex;align-items:center;gap:12px;}
.brand img{width:46px;height:46px;}
.brand .brand-text{display:flex;flex-direction:column;line-height:1.1;}
.brand .brand-text strong{font-size:1.15rem;color:var(--navy);font-weight:700;}
.brand .brand-text span{font-size:0.7rem;color:var(--green-dark);font-weight:600;letter-spacing:0.03em;}

.nav-links{display:flex;align-items:center;gap:36px;}
.nav-links a{
  font-weight:500;
  font-size:0.95rem;
  color:var(--text);
  position:relative;
  padding:6px 0;
  transition:color .2s;
}
.nav-links a:hover, .nav-links a.active{color:var(--green-dark);}
.nav-links a.active::after{
  content:'';
  position:absolute;
  bottom:0;left:0;right:0;
  height:2px;
  background:var(--green);
  border-radius:2px;
}
.nav-cta{display:flex;align-items:center;gap:16px;}
.nav-cta .btn{padding:11px 24px;font-size:0.88rem;}

.menu-toggle{display:none;flex-direction:column;gap:5px;cursor:pointer;background:none;border:none;}
.menu-toggle span{width:26px;height:3px;background:var(--navy);border-radius:3px;}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  min-height:88vh;
  display:flex;
  align-items:center;
  background:var(--navy);
  overflow:hidden;
}

/* Background video layer */
.hero-video-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  z-index:0;
}

/* Dark gradient overlay — keeps headline/body text readable over any footage */
.hero::before{
  content:'';
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(115deg, rgba(15,35,53,0.92) 0%, rgba(22,50,74,0.82) 42%, rgba(22,50,74,0.55) 75%, rgba(22,50,74,0.4) 100%),
    radial-gradient(circle at 85% 15%, rgba(255,179,0,0.22) 0%, rgba(255,179,0,0) 45%);
  pointer-events:none;
}
.hero .container{position:relative;z-index:2;display:grid;grid-template-columns:1fr;gap:24px;align-items:center;}
.hero-content{max-width:680px;}
.hero-content .eyebrow{background:rgba(255,255,255,0.14);color:var(--gold-light);}
.hero-content h1{
  color:var(--white);
  font-size:clamp(2.2rem, 4.2vw, 3.4rem);
  margin-bottom:20px;
  text-shadow:0 2px 18px rgba(0,0,0,0.35);
}
.hero-content h1 span{color:var(--gold);}
.hero-content p{
  color:rgba(255,255,255,0.92);
  font-size:1.08rem;
  max-width:560px;
  margin-bottom:34px;
  text-shadow:0 1px 10px rgba(0,0,0,0.3);
}
.hero-btns{display:flex;gap:16px;flex-wrap:wrap;}

.hero-stats{
  position:relative;
  z-index:2;
  margin-top:-40px;
}
.hero-stats .container{
  background:var(--white);
  border-radius:var(--radius);
  box-shadow:var(--shadow-lg);
  padding:34px 40px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  text-align:center;
}
.hero-stats .stat h3{
  color:var(--green-dark);
  font-size:1.6rem;
  margin-bottom:6px;
}
.hero-stats .stat p{font-size:0.88rem;color:var(--text-muted);margin:0;}

/* ---------- Savings Calculator ---------- */
.calc-card{
  background:var(--white);
  border-radius:var(--radius);
  box-shadow:var(--shadow-lg);
  padding:44px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:start;
}
.calc-inputs{display:flex;flex-direction:column;gap:20px;}
.calc-checkbox{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:0.9rem;
  color:var(--text);
  cursor:pointer;
}
.calc-checkbox input{width:18px;height:18px;margin-top:2px;accent-color:var(--green);flex-shrink:0;}
.calc-results{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.calc-result-item{
  background:var(--bg-alt);
  border-radius:12px;
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.calc-result-item.highlight{
  background:linear-gradient(135deg, var(--green-dark), var(--teal));
  grid-column:1 / -1;
}
.calc-result-item .calc-label{font-size:0.78rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:0.03em;}
.calc-result-item.highlight .calc-label{color:rgba(255,255,255,0.85);}
.calc-result-item .calc-value{font-size:1.5rem;font-weight:700;color:var(--navy);}
.calc-result-item.highlight .calc-value{color:var(--white);}
.calc-disclaimer{font-size:0.8rem;color:var(--text-muted);margin-top:22px;text-align:center;}
.calc-disclaimer a{color:var(--green-dark);font-weight:600;}
.calc-state-note{
  grid-column:1 / -1;
  font-size:0.85rem;
  color:var(--green-dark);
  background:rgba(46,158,68,0.08);
  border-radius:10px;
  padding:12px 16px;
  margin:4px 0 0;
  display:none;
}
.calc-state-note:not(:empty){display:block;}

/* ---------- Subsidy table ---------- */
.subsidy-table-wrap{
  overflow-x:auto;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  background:var(--white);
}
.subsidy-table{width:100%;border-collapse:collapse;min-width:520px;}
.subsidy-table th, .subsidy-table td{padding:16px 24px;text-align:left;font-size:0.92rem;}
.subsidy-table thead th{
  background:var(--navy);
  color:var(--white);
  font-weight:600;
  font-size:0.82rem;
  text-transform:uppercase;
  letter-spacing:0.03em;
}
.subsidy-table tbody tr:nth-child(even){background:var(--bg-alt);}
.subsidy-table td{color:var(--text);font-weight:500;}
.subsidy-table td:last-child{color:var(--green-dark);font-weight:700;}
.subsidy-note{
  max-width:800px;
  margin:26px auto 0;
  background:var(--white);
  border-left:4px solid var(--gold);
  border-radius:10px;
  padding:20px 24px;
  box-shadow:var(--shadow);
}
.subsidy-note p{margin:0;font-size:0.92rem;}
.subsidy-note p + p{margin-top:10px;}

/* ---------- Intro / About preview ---------- */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;}
.about-media{position:relative;}
.about-media .media-box{
  background:linear-gradient(135deg, var(--green-dark), var(--teal));
  border-radius:var(--radius);
  padding:60px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:var(--shadow-lg);
}
.about-media .media-box img{width:60%;filter:drop-shadow(0 10px 25px rgba(0,0,0,0.25));}
.about-text h2{margin-bottom:18px;}
.about-text p{margin-bottom:16px;}
.check-list{margin-top:24px;display:flex;flex-direction:column;gap:12px;}
.check-list li{display:flex;align-items:flex-start;gap:12px;color:var(--text);font-weight:500;}
.check-list li::before{
  content:'✓';
  flex-shrink:0;
  width:24px;height:24px;
  background:var(--green);
  color:var(--white);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:0.75rem;
}

/* ---------- Feature / Why cards ---------- */
.features-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;}
.feature-card{
  background:var(--white);
  border-radius:var(--radius);
  padding:34px 26px;
  box-shadow:var(--shadow);
  transition:transform .25s ease, box-shadow .25s ease;
  border-top:4px solid var(--green);
}
.feature-card:hover{transform:translateY(-8px);box-shadow:var(--shadow-lg);}
.feature-card .icon{
  width:54px;height:54px;
  border-radius:14px;
  background:linear-gradient(135deg, var(--green-light), var(--green-dark));
  display:flex;align-items:center;justify-content:center;
  color:var(--white);
  font-size:1.5rem;
  margin-bottom:18px;
}
.feature-card h3{margin-bottom:10px;font-size:1.1rem;}
.feature-card p{font-size:0.92rem;}

/* ---------- Services / Solutions ---------- */
.bg-alt{background:var(--bg-alt);}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;}
.service-card{
  background:var(--white);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:transform .25s ease, box-shadow .25s ease;
  display:flex;flex-direction:column;
}
.service-card:hover{transform:translateY(-8px);box-shadow:var(--shadow-lg);}
.service-card .service-top{
  height:150px;
  background:linear-gradient(135deg, var(--navy), var(--navy-light));
  display:flex;align-items:center;justify-content:center;
  font-size:2.6rem;
  color:var(--gold);
  position:relative;
}
.service-card .service-top::after{
  content:'';
  position:absolute;inset:0;
  background:radial-gradient(circle at 30% 20%, rgba(46,158,68,0.35), transparent 60%);
}
.service-card .service-body{padding:28px;flex:1;display:flex;flex-direction:column;}
.service-card h3{margin-bottom:10px;}
.service-card p{font-size:0.92rem;flex:1;margin-bottom:16px;}
.service-card .service-link{
  color:var(--green-dark);
  font-weight:600;
  font-size:0.9rem;
  display:inline-flex;
  align-items:center;
  gap:6px;
}

/* ---------- Process steps ---------- */
.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;position:relative;}
.process-step{
  background:var(--white);
  border-radius:var(--radius);
  padding:32px 24px;
  text-align:center;
  box-shadow:var(--shadow);
  position:relative;
}
.process-step .step-num{
  width:46px;height:46px;
  border-radius:50%;
  background:linear-gradient(135deg, var(--gold), #ff9800);
  color:var(--navy);
  font-weight:700;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 18px;
  font-size:1.1rem;
}
.process-step h3{font-size:1.05rem;margin-bottom:8px;}
.process-step p{font-size:0.88rem;}

/* ---------- Roadmap / expansion timeline ---------- */
.roadmap{display:flex;flex-direction:column;gap:0;position:relative;}
.roadmap::before{
  content:'';
  position:absolute;
  left:27px;top:10px;bottom:10px;
  width:3px;
  background:linear-gradient(var(--green), var(--gold));
  border-radius:3px;
}
.roadmap-item{display:flex;gap:26px;padding:26px 0;position:relative;}
.roadmap-item .dot{
  width:56px;height:56px;flex-shrink:0;
  border-radius:50%;
  background:var(--white);
  border:3px solid var(--green);
  display:flex;align-items:center;justify-content:center;
  font-size:1.4rem;
  z-index:2;
  box-shadow:var(--shadow);
}
.roadmap-item.future .dot{border-color:var(--gold);}
.roadmap-item .content{background:var(--white);padding:20px 24px;border-radius:var(--radius);box-shadow:var(--shadow);flex:1;}
.roadmap-item .content .tag{
  display:inline-block;
  font-size:0.72rem;
  font-weight:700;
  letter-spacing:0.05em;
  text-transform:uppercase;
  color:var(--green-dark);
  margin-bottom:6px;
}
.roadmap-item.future .content .tag{color:#c07d00;}
.roadmap-item .content h3{margin-bottom:6px;}
.roadmap-item .content p{margin:0;font-size:0.92rem;}

/* ---------- Values ---------- */
.values-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;}
.value-card{text-align:center;padding:26px 14px;}
.value-card .icon{
  width:64px;height:64px;
  border-radius:50%;
  background:var(--bg-alt);
  color:var(--green-dark);
  display:flex;align-items:center;justify-content:center;
  font-size:1.6rem;
  margin:0 auto 16px;
}
.value-card h3{font-size:1rem;margin-bottom:6px;}
.value-card p{font-size:0.85rem;}

/* ---------- CTA banner ---------- */
.cta-banner{
  background:linear-gradient(120deg, var(--green-dark), var(--teal));
  border-radius:var(--radius);
  padding:56px 50px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  flex-wrap:wrap;
  box-shadow:var(--shadow-lg);
}
.cta-banner h2{color:var(--white);margin-bottom:8px;}
.cta-banner p{color:rgba(255,255,255,0.85);margin:0;}
.cta-banner .cta-text{max-width:520px;}

/* ---------- Team / Leadership ---------- */
.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;}
.team-card{background:var(--white);border-radius:var(--radius);padding:30px;text-align:center;box-shadow:var(--shadow);}
.team-card .avatar{
  width:88px;height:88px;border-radius:50%;
  background:linear-gradient(135deg,var(--green-light),var(--navy-light));
  margin:0 auto 16px;
  display:flex;align-items:center;justify-content:center;
  color:var(--white);font-size:1.8rem;font-weight:700;
}
.team-card h3{margin-bottom:2px;}
.team-card span{color:var(--green-dark);font-size:0.85rem;font-weight:600;}

/* ---------- Contact ---------- */
.contact-grid{display:grid;grid-template-columns:0.9fr 1.1fr;gap:50px;}
.contact-info{background:var(--navy);color:var(--white);border-radius:var(--radius);padding:44px 38px;}
.contact-info h3{color:var(--white);margin-bottom:16px;}
.contact-info p{color:rgba(255,255,255,0.75);margin-bottom:30px;}
.contact-item{display:flex;gap:16px;align-items:flex-start;margin-bottom:26px;}
.contact-item .icon{
  width:44px;height:44px;flex-shrink:0;
  border-radius:12px;
  background:rgba(255,179,0,0.15);
  color:var(--gold);
  display:flex;align-items:center;justify-content:center;
  font-size:1.1rem;
}
.contact-item h4{color:var(--white);font-size:0.95rem;margin-bottom:4px;}
.contact-item p{margin:0;font-size:0.88rem;color:rgba(255,255,255,0.72);}
.social-row{display:flex;gap:12px;margin-top:20px;}
.social-row a{
  width:38px;height:38px;
  border-radius:50%;
  background:rgba(255,255,255,0.12);
  display:flex;align-items:center;justify-content:center;
  color:var(--white);
  font-size:0.9rem;
  transition:background .2s;
}
.social-row a:hover{background:var(--gold);color:var(--navy);}

.contact-form{background:var(--white);border-radius:var(--radius);padding:44px 38px;box-shadow:var(--shadow);}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px;}
.form-group{display:flex;flex-direction:column;gap:8px;}
.form-group.full{grid-column:1 / -1;}
label{font-size:0.85rem;font-weight:600;color:var(--navy);}
input,select,textarea{
  padding:13px 16px;
  border:1.5px solid #dfe6e2;
  border-radius:10px;
  font-family:inherit;
  font-size:0.92rem;
  color:var(--text);
  background:var(--bg);
  transition:border-color .2s;
}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--green);}
textarea{resize:vertical;min-height:120px;}
.form-note{font-size:0.8rem;color:var(--text-muted);margin-top:14px;}
.form-status{margin-top:16px;font-size:0.9rem;font-weight:600;display:none;}
.form-status.show{display:block;}
.form-status.success{color:var(--green-dark);}

/* ---------- Map placeholder ---------- */
.map-box{
  border-radius:var(--radius);
  overflow:hidden;
  height:340px;
  box-shadow:var(--shadow);
}
.map-box iframe{width:100%;height:100%;border:0;}

/* ---------- FAQ ---------- */
.faq-item{background:var(--white);border-radius:12px;box-shadow:var(--shadow);margin-bottom:14px;overflow:hidden;}
.faq-q{
  padding:20px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
  font-weight:600;
  color:var(--navy);
}
.faq-q .plus{transition:transform .25s;color:var(--green-dark);font-size:1.3rem;}
.faq-item.open .faq-q .plus{transform:rotate(45deg);}
.faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease;padding:0 24px;}
.faq-item.open .faq-a{max-height:200px;padding-bottom:20px;}
.faq-a p{font-size:0.9rem;}

/* ---------- Footer ---------- */
footer{background:var(--navy);color:rgba(255,255,255,0.75);padding-top:70px;}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:40px;padding-bottom:50px;border-bottom:1px solid rgba(255,255,255,0.1);}
.footer-brand{display:flex;align-items:center;gap:10px;margin-bottom:16px;}
.footer-brand img{width:38px;height:38px;}
.footer-brand strong{color:var(--white);font-size:1.1rem;}
.footer-col h4{color:var(--white);font-size:0.95rem;margin-bottom:18px;}
.footer-col ul{display:flex;flex-direction:column;gap:10px;}
.footer-col a{font-size:0.88rem;transition:color .2s;}
.footer-col a:hover{color:var(--gold);}
.footer-bottom{
  padding:24px 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:0.82rem;
  flex-wrap:wrap;
  gap:10px;
}
.footer-bottom a{margin-left:16px;}

/* ---------- Page header (inner pages) ---------- */
.page-header{
  background:linear-gradient(120deg, var(--navy), var(--navy-light));
  padding:70px 0 60px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.page-header::before{
  content:'';
  position:absolute;inset:0;
  background:radial-gradient(circle at 80% 20%, rgba(255,179,0,0.28), transparent 45%);
}
.page-header .container{position:relative;z-index:2;}
.page-header .eyebrow{background:rgba(255,255,255,0.12);color:var(--gold-light);}
.page-header h1{color:var(--white);font-size:clamp(1.9rem,3.6vw,2.8rem);}
.breadcrumb{color:rgba(255,255,255,0.7);font-size:0.9rem;margin-top:10px;}
.breadcrumb a{color:var(--gold-light);}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .hero-content{text-align:center;margin:0 auto;}
  .hero-content p{margin-left:auto;margin-right:auto;}
  .hero-btns{justify-content:center;}
  .hero-stats .container{grid-template-columns:repeat(2,1fr);}
  .calc-card{grid-template-columns:1fr;padding:30px;}
  .about-grid{grid-template-columns:1fr;}
  .features-grid{grid-template-columns:repeat(2,1fr);}
  .services-grid{grid-template-columns:repeat(2,1fr);}
  .process-grid{grid-template-columns:repeat(2,1fr);}
  .values-grid{grid-template-columns:repeat(3,1fr);}
  .team-grid{grid-template-columns:repeat(2,1fr);}
  .contact-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width: 720px){
  .nav-links, .nav-cta .btn-outline-nav{display:none;}
  .menu-toggle{display:flex;}
  .nav-cta{gap:10px;}
  section{padding:60px 0;}
  .features-grid, .services-grid, .process-grid, .values-grid, .team-grid{grid-template-columns:1fr;}
  .form-row{grid-template-columns:1fr;}
  .cta-banner{flex-direction:column;text-align:center;}
  .footer-grid{grid-template-columns:1fr;}
  .footer-bottom{flex-direction:column;text-align:center;}
}

/* Mobile nav drawer */
.nav-links.mobile-open{
  display:flex;
  position:absolute;
  top:100%;left:0;right:0;
  background:var(--white);
  flex-direction:column;
  padding:20px 24px;
  gap:18px;
  box-shadow:0 10px 20px rgba(0,0,0,0.08);
}
