/* SOLAR ENERGY PAGE — page-specific styles only. Shared tokens live in style.css,
   product card styles are shared with products.css */

/* ============ HERO ============ */
.so-hero{
  background:
    radial-gradient(circle at 85% 15%, rgba(251,191,36,0.16), transparent 45%),
    linear-gradient(120deg, rgba(11,31,58,0.92), rgba(37,99,235,0.76)),
    url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?q=80&w=1600&auto=format&fit=crop')
    center/cover no-repeat;
}
.so-breadcrumb{
  display:inline-flex; align-items:center; gap:8px;
  color:rgba(255,255,255,0.75);
  font-size:13.5px; font-weight:600;
  text-decoration:none;
  margin-bottom:18px;
  transition:.2s;
}
.so-breadcrumb:hover{ color:var(--accent); }
.so-hero-eyebrow{
  color:var(--accent);
  background:rgba(251,191,36,0.12);
  border:1px solid rgba(251,191,36,0.35);
  padding:8px 18px 8px 14px;
  border-radius:50px;
  display:inline-flex;
  width:fit-content;
}
.so-hero-eyebrow::before{ display:none; }
.so-hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-top:28px; }
.btn-outline{
  display:inline-flex; align-items:center; justify-content:center;
  padding:13px 28px; border-radius:8px;
  border:2px solid rgba(255,255,255,0.5);
  color:var(--white); background:transparent;
  font-weight:700; font-size:14.5px; text-decoration:none;
  transition:.25s;
}
.btn-outline:hover{ background:var(--white); color:var(--primary); border-color:var(--white); }

/* =========================================
   MOBILE SOLAR HERO SPACING
========================================= */

@media (max-width: 899px) {

  .so-hero {
    min-height: auto;
    padding-top: 190px;
    padding-bottom: 70px;
    align-items: flex-start;
  }

  .so-hero .pr-hero-content {
    width: 100%;
    max-width: 100%;
    padding-top: 60px;
  }

}

/* ============ CATEGORY BANNERS (hero product shot + how-it-works diagram) ============ */
.solar-banner-row{
  grid-column: 1 / -1;
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
  margin-bottom:8px;
}
@media(min-width:900px){
  .solar-banner-row{ grid-template-columns:1.1fr 0.9fr; align-items:stretch; }
}
.solar-banner-row.solar-banner-single{
  grid-template-columns:1fr;
}
@media(min-width:900px){
  .solar-banner-row.solar-banner-single{ grid-template-columns:minmax(0,720px); justify-content:center; }
}
.solar-banner-hero, .solar-banner-diagram{
  border-radius:22px;
  overflow:hidden;
  border:1px solid var(--line);
  background:linear-gradient(160deg, #F8FAFC, #EEF2F7);
  position:relative;
  display:flex;
  flex-direction:column;
}
.solar-banner-hero img, .solar-banner-diagram img{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
  flex:1;
}
.solar-banner-hero{
  padding:22px 22px 0;
  justify-content:flex-end;
}
.solar-banner-hero-caption{
  padding:18px 24px 22px;
  background:linear-gradient(120deg, var(--primary), #14304F);
  color:var(--white);
}
.solar-banner-hero-caption strong{
  display:block;
  font-family:var(--font-display);
  font-size:16.5px;
  margin-bottom:4px;
}
.solar-banner-hero-caption span{
  font-size:12.5px;
  color:rgba(255,255,255,0.75);
}
.solar-banner-diagram{
  padding:0;
}
.solar-banner-diagram img{ background:var(--white); }
.solar-banner-diagram-caption{
  padding:16px 22px 20px;
  border-top:1px solid var(--line);
}
.solar-banner-diagram-caption strong{
  display:block;
  font-size:14.5px;
  color:var(--primary);
  margin-bottom:3px;
}
.solar-banner-diagram-caption span{
  font-size:12.5px;
  color:var(--gray);
}

/* ============ INSTALLATION GALLERY ============ */
.so-gallery-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}
@media(min-width:700px){ .so-gallery-grid{ grid-template-columns:repeat(3,1fr); } }
.so-gallery-item{
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  aspect-ratio:4/3;
  background:#F1F5F9;
  position:relative;
}
.so-gallery-item img{
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .5s cubic-bezier(.2,.8,.2,1);
  display:block;
}
.so-gallery-item:hover img{ transform:scale(1.06); }
.so-gallery-item::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 55%, rgba(11,31,58,.45));
  opacity:0;
  transition:.3s;
}
.so-gallery-item:hover::after{ opacity:1; }
.so-gallery-item.wide{ grid-column:span 2; }
@media(min-width:700px){ .so-gallery-item.wide{ grid-column:span 1; } }

@media(max-width:600px){
  .so-gallery-grid{ grid-template-columns:1fr 1fr; gap:12px; }
}

/* ============ COMPARISON TABLE ============ */
.so-compare-wrap{
  overflow-x:auto;
  border-radius:16px;
  border:1px solid var(--line);
}
.so-compare-table{
  width:100%;
  border-collapse:collapse;
  min-width:640px;
  background:var(--white);
}
.so-compare-table thead th{
  background:var(--primary);
  color:var(--white);
  text-align:left;
  padding:16px 20px;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.so-compare-table thead th:not(:first-child){
  text-align:center;
}
.so-compare-table tbody td{
  padding:16px 20px;
  font-size:14px;
  color:var(--ink);
  border-bottom:1px solid var(--line);
}
.so-compare-table tbody td:not(:first-child){
  text-align:center;
}
.so-compare-table tbody tr:last-child td{ border-bottom:none; }
.so-compare-table tbody tr:hover{ background:#F8FAFC; }
.so-compare-table tbody td:first-child{
  font-weight:700; color:var(--primary);
}
.so-yes{ color:#16A34A; font-size:16px; }
.so-no{ color:#DC2626; font-size:16px; }

/* ============ INSTALLATION PROCESS ============ */
.so-process{ text-align:center; }
.so-process-flow{
  max-width:700px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
}
.so-process-step{
  width:100%;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:16px;
  padding:22px 26px;
  display:flex;
  align-items:center;
  gap:20px;
  text-align:left;
  transition:.3s;
}
.so-process-step:hover{
  border-color:var(--accent);
  box-shadow:0 18px 36px rgba(11,31,58,.1);
  transform:translateY(-4px);
}
.so-process-num{
  width:46px; height:46px; flex-shrink:0;
  border-radius:50%;
  background:var(--primary); color:var(--accent);
  display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:17px;
  font-family:var(--font-display);
}
.so-process-step h4{ font-size:16.5px; color:var(--primary); margin-bottom:4px; }
.so-process-step p{ font-size:13.5px; color:var(--gray); line-height:1.6; }
.so-process-flow > i{ color:var(--accent); font-size:18px; margin:2px 0; }

/* ============ FAQ ============ */
.so-faq-list{ max-width:820px; margin:0 auto; display:flex; flex-direction:column; gap:14px; }
.so-faq-item{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  transition:.3s;
}
.so-faq-item:hover{ border-color:var(--accent); }
.so-faq-q{
  width:100%;
  display:flex; align-items:center; justify-content:space-between;
  background:none; border:none; cursor:pointer;
  padding:22px 26px;
  font-size:15.5px; font-weight:600; color:var(--primary);
  text-align:left;
}
.so-faq-q i{
  color:var(--secondary);
  transition:.3s;
  flex-shrink:0;
  margin-left:16px;
}
.so-faq-item.open .so-faq-q i{ transform:rotate(45deg); color:var(--accent); }
.so-faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height .35s ease, padding .35s ease;
  padding:0 26px;
}
.so-faq-item.open .so-faq-a{ max-height:220px; padding:0 26px 22px; }
.so-faq-a p{ color:var(--gray); font-size:14.5px; line-height:1.7; }

@media(max-width:600px){
  .so-process-step{ flex-direction:column; text-align:center; }
  .so-compare-table thead th, .so-compare-table tbody td{ padding:12px 14px; font-size:12.5px; }
}

/* ==========================================================
   PREMIUM CARD REDESIGN — scoped to #solar-products only,
   so products.html's overview cards stay exactly as they are.
========================================================== */

#solar-products .solar-grid{
  gap:38px;
}
@media(min-width:700px){ #solar-products .solar-grid{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1150px){ #solar-products .solar-grid{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1500px){ #solar-products .solar-grid{ grid-template-columns:repeat(3,1fr); } }

/* Card shell */
#solar-products .solar-card{
  border-radius:26px;
  border:1px solid var(--line);
  box-shadow:0 10px 30px rgba(11,31,58,.06);
  transition:.4s cubic-bezier(.2,.8,.2,1);
  position:relative;
}
#solar-products .solar-card:hover{
  transform:translateY(-12px);
  box-shadow:0 34px 70px rgba(11,31,58,.18);
  border-color:var(--accent);
}

/* Head — richer gradient + pattern + bigger type */
#solar-products .solar-card-head{
  background:
    radial-gradient(circle at 100% 0%, rgba(251,191,36,0.18), transparent 55%),
    linear-gradient(135deg, var(--primary), #14304F);
  padding:32px 30px 28px;
  border-bottom:none;
  position:relative;
  overflow:hidden;
}
#solar-products .solar-card-head::after{
  content:"";
  position:absolute; top:-40%; right:-15%;
  width:180px; height:180px; border-radius:50%;
  background:radial-gradient(circle, rgba(251,191,36,0.12), transparent 70%);
}
#solar-products .solar-tag{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(251,191,36,0.15);
  border:1px solid rgba(251,191,36,0.35);
  padding:6px 14px;
  border-radius:50px;
  font-size:11.5px;
  margin-bottom:14px;
}
#solar-products .solar-card-head h3{
  font-family:var(--font-display);
  font-size:26px;
  margin-bottom:14px;
}
#solar-products .phase-pill{
  background:rgba(255,255,255,0.14);
  border:1px solid rgba(255,255,255,0.2);
}

/* Body — more breathing room */
#solar-products .solar-card-body{
  padding:32px 30px 34px;
}

/* Specs — icon-led rows instead of plain grid boxes */
#solar-products .spec-grid{
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-bottom:26px;
}
#solar-products .spec-item{
  background:#F8FAFC;
  border-left:none;
  border-radius:12px;
  padding:14px 16px;
  transition:.25s;
}
#solar-products .spec-item:hover{
  background:#FFFBEB;
}
#solar-products .spec-item span{
  font-size:10.5px;
  color:var(--secondary);
  font-weight:700;
}
#solar-products .spec-item strong{
  font-size:15px;
}

/* Price block — bigger, gradient price */
#solar-products .price-block{
  background:linear-gradient(120deg, #FFFBEB, #FFF7ED);
  border:1px dashed var(--accent);
  border-radius:16px;
  padding:20px 22px;
  margin-bottom:22px;
}
#solar-products .price-main{
  font-size:32px;
  background:linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
#solar-products .subsidy-chip{
  margin-top:10px;
  font-size:13px;
  padding:7px 14px;
  box-shadow:0 4px 12px rgba(22,163,74,.15);
}

/* Warranty pills — bigger, bolder */
#solar-products .warranty-pill{
  font-size:13px;
  padding:8px 16px;
  background:var(--primary);
  color:var(--accent);
  border:none;
}

/* Why-this — check icons in filled circles */
#solar-products .why-this-title{
  font-size:13px;
  margin-bottom:14px;
}
#solar-products .why-this ul{ gap:10px; }
#solar-products .why-this li{
  font-size:14px;
  gap:12px;
  align-items:center;
}
#solar-products .why-this li i{
  width:22px; height:22px; flex-shrink:0;
  border-radius:50%;
  background:#DCFCE7;
  color:#16A34A;
  display:flex; align-items:center; justify-content:center;
  font-size:11px;
}

/* CTA buttons — bigger, glowing */
#solar-products .card-actions{
  gap:12px;
  margin-top:6px;
}
#solar-products .card-actions a{
  padding:16px;
  font-size:14.5px;
  border-radius:12px;
  transition:.3s;
}
#solar-products .btn-quote{
  background:linear-gradient(90deg, var(--secondary), #1D4ED8);
  color:var(--white);
  box-shadow:0 10px 24px rgba(37,99,235,.28);
}
#solar-products .btn-quote:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 32px rgba(37,99,235,.4);
}
#solar-products .btn-whatsapp:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 32px rgba(34,197,94,.35);
}

/* ==========================================================
   "WHY CHOOSE OUR SOLAR SYSTEMS" — full redesign
========================================================== */
#solar-products .pr-why{
  background:
    radial-gradient(circle at 15% 20%, rgba(251,191,36,0.10), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(37,99,235,0.18), transparent 45%),
    linear-gradient(160deg, var(--primary), #0A1930);
  border-radius:32px;
  padding:70px 50px;
  margin-top:60px;
}
#solar-products .pr-why-head{
  text-align:left;
  max-width:560px;
  margin-bottom:50px;
}
#solar-products .pr-why-head h3{
  font-family:var(--font-display);
  font-size:32px;
  justify-content:flex-start;
  gap:14px;
  margin-bottom:14px;
}
#solar-products .pr-why-head p{
  font-size:15.5px;
}
#solar-products .pr-why-grid{
  grid-template-columns:1fr;
  gap:22px;
}
@media(min-width:700px){ #solar-products .pr-why-grid{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:1100px){ #solar-products .pr-why-grid{ grid-template-columns:repeat(3,1fr); } }

#solar-products .pr-why-box{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.14);
  border-radius:20px;
  padding:30px 26px;
  transition:.35s;
  position:relative;
  overflow:hidden;
}
#solar-products .pr-why-box::before{
  content:"";
  position:absolute; top:0; left:0;
  width:100%; height:3px;
  background:linear-gradient(90deg, var(--secondary), var(--accent));
  transform:scaleX(0); transform-origin:left; transition:.35s;
}
#solar-products .pr-why-box:hover{
  background:rgba(255,255,255,0.1);
  transform:translateY(-8px);
  border-color:rgba(251,191,36,.4);
}
#solar-products .pr-why-box:hover::before{ transform:scaleX(1); }
#solar-products .pr-why-box .icon{
  font-size:32px;
  display:block;
  margin-bottom:18px;
}
#solar-products .pr-why-box h4{
  font-size:16.5px;
  margin-bottom:10px;
}
#solar-products .pr-why-box p{
  font-size:13.5px;
  line-height:1.7;
}

@media(max-width:600px){
  #solar-products .pr-why{ padding:44px 26px; }
  #solar-products .solar-card-head{ padding:26px 22px 22px; }
  #solar-products .solar-card-body{ padding:26px 22px 28px; }
}

/* ==========================================================
   SOLAR AIR CONDITIONER SECTION
========================================================== */

.ac-feature-strip{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  margin:36px 0 40px;
}
@media(min-width:700px){ .ac-feature-strip{ grid-template-columns:repeat(3,1fr); } }
@media(min-width:1100px){ .ac-feature-strip{ grid-template-columns:repeat(6,1fr); } }
.ac-feature{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:14px;
  padding:20px 16px;
  text-align:center;
  transition:.3s;
}
.ac-feature:hover{
  border-color:var(--accent);
  transform:translateY(-6px);
  box-shadow:0 16px 32px rgba(11,31,58,.08);
}
.ac-feature i{
  display:block;
  font-size:22px;
  color:var(--secondary);
  margin-bottom:10px;
}
.ac-feature span{
  font-size:12.5px;
  font-weight:700;
  color:var(--primary);
  line-height:1.4;
}

.ac-photo-wrap{
  max-width:700px;
  margin:0 auto 44px;
  border-radius:20px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 20px 44px rgba(11,31,58,.1);
  background:var(--white);
}
.ac-photo-wrap img{ width:100%; }

.ac-tab-row{ justify-content:center; display:flex; }

.ac-grid{
  max-width:620px;
  margin:0 auto;
  display:flex;
}
.ac-grid .ac-card{ width:100%; }

/* Full spec comparison block */
.ac-spec-wrap{
  margin-top:56px;
}
.ac-spec-head{
  display:flex; align-items:center; gap:12px;
  margin-bottom:22px;
}
.ac-spec-head i{ color:var(--accent); font-size:20px; }
.ac-spec-head h3{
  font-family:var(--font-display);
  font-size:22px;
  color:var(--primary);
}
.ac-compare-table tr.ac-subhead td{
  background:var(--primary);
  color:var(--accent);
  font-weight:700;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.05em;
  padding:10px 20px;
}
.ac-spec-note{
  margin-top:16px;
  font-size:12.5px;
  color:var(--gray);
  font-style:italic;
  display:flex;
  align-items:flex-start;
  gap:8px;
}
.ac-spec-note i{ color:var(--accent); margin-top:2px; }

/* How a Solar AC Works */
.ac-how-wrap{ margin-top:60px; }
.ac-how-head{
  display:flex; align-items:center; justify-content:center; gap:12px;
  margin-bottom:30px;
}
.ac-how-head i{ color:var(--accent); font-size:20px; }
.ac-how-head h3{
  font-family:var(--font-display);
  font-size:24px;
  color:var(--primary);
  text-align:center;
}
.ac-how-flow .so-process-num{
  background:linear-gradient(135deg, var(--secondary), var(--accent));
  color:var(--white);
  font-size:18px;
}

@media(max-width:600px){
  .ac-spec-head, .ac-how-head{ justify-content:flex-start; }
}

/* ==========================================================
   PREMIUM REDESIGN — Compare Systems table & How It Works flow
   (the original solar-panel-system sections, elevated to match
   the premium card treatment used elsewhere on this page)
========================================================== */

.so-compare-wrap{
  border-radius:20px;
  box-shadow:0 16px 40px rgba(11,31,58,.08);
  border:1px solid var(--line);
}
.so-compare-table thead th{
  background:linear-gradient(120deg, var(--primary), #14304F);
  padding:18px 22px;
  font-size:12.5px;
  letter-spacing:.06em;
  position:sticky;
  top:0;
}
.so-compare-table thead th:first-child{
  border-top-left-radius:20px;
}
.so-compare-table thead th:last-child{
  border-top-right-radius:20px;
}
.so-compare-table tbody tr{
  transition:.2s;
}
.so-compare-table tbody tr:nth-child(even){
  background:#FAFBFC;
}
.so-compare-table tbody tr:hover{
  background:#FFFBEB;
}
.so-compare-table tbody td{
  padding:18px 22px;
}
.so-compare-table tbody td:first-child{
  position:relative;
}
.so-compare-table tbody td:first-child::before{
  content:"";
  position:absolute; left:0; top:0;
  width:3px; height:100%;
  background:linear-gradient(180deg, var(--secondary), var(--accent));
  opacity:0;
  transition:.2s;
}
.so-compare-table tbody tr:hover td:first-child::before{ opacity:1; }
.so-yes{
  background:#DCFCE7;
  width:28px; height:28px;
  border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  font-size:13px;
}
.so-no{
  background:#FEE2E2;
  width:28px; height:28px;
  border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  font-size:13px;
}

.so-process-step{
  border-radius:20px;
  box-shadow:0 6px 20px rgba(11,31,58,.05);
}
.so-process-step:hover{
  box-shadow:0 20px 42px rgba(11,31,58,.12);
}
.so-process-num{
  background:linear-gradient(135deg, var(--primary), #14304F);
  box-shadow:0 6px 16px rgba(11,31,58,.25);
}
.so-process-flow > i{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:50%;
  width:32px; height:32px;
  display:flex; align-items:center; justify-content:center;
}
