/* Solar Services – Dev Enterprises — styles used only on this page (shared styles: assets/css/style.css) */

/* ── PAGE HEADER ── */

.page-header {
  position: relative; min-height: 400px; padding: 56px 0; display: flex; align-items: center;
  background: linear-gradient(105deg, rgba(7,20,36,0.92) 32%, rgba(7,20,36,0.42) 100%),
    url('https://images.unsplash.com/photo-1509391366360-2e959784a276?w=1600&q=80&fit=crop') center/cover;
}

.page-header-content { position: relative; z-index: 1; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 16px; font-weight: 500; flex-wrap: wrap; }

.breadcrumb a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color var(--transition); }

.breadcrumb a:hover { color: var(--brand); }

.breadcrumb .sep { color: var(--brand); }

.breadcrumb .current { color: var(--brand); }

.page-header-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(var(--brand-rgb),0.18); border: 1px solid rgba(var(--brand-rgb),0.4); color: var(--brand-light); font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 16px; border-radius: 30px; margin-bottom: 18px; }

.page-header h1 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(36px, 5.5vw, 62px); font-weight: 800; color: var(--white); line-height: 1.04; max-width: 680px; margin-bottom: 14px; }

.page-header h1 em { font-style: normal; color: var(--brand); }

.page-header p { font-size: 15.5px; color: rgba(255,255,255,0.78); max-width: 540px; line-height: 1.72; }

/* ── SHARED LABELS ── */

.section-eyebrow { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand); font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }

.section-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--brand); display: block; }

.section-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--ink); line-height: 1.1; margin-bottom: 16px; }

.section-sub { font-size: 15.5px; color: var(--gray-mid); max-width: 620px; line-height: 1.75; }

.section-header-center { text-align: center; margin-bottom: 56px; }

.section-header-center .section-eyebrow { justify-content: center; }

.section-header-center .section-sub { margin: 0 auto; }

/* ── OVERVIEW ── */

.overview { padding: var(--section-pad); background: var(--white); }

.overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

.overview-text p { color: #4A5A6E; font-size: 15.5px; line-height: 1.88; margin-bottom: 20px; }

.overview-text strong { color: var(--ink); font-weight: 700; }

.overview-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }

.overview-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.45; }

.check-icon { width: 20px; height: 20px; border-radius: 50%; background: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; font-size: 10px; color: white; font-weight: 800; }

.overview-img-wrap { position: relative; }

.overview-img { width: 100%; height: 500px; object-fit: cover; border-radius: var(--radius-lg); display: block; }

.overview-img-badge {
  position: absolute; bottom: 28px; right: -20px;
  background: var(--ink); color: var(--white); padding: 22px 28px;
  border-radius: var(--radius-lg); box-shadow: 0 12px 36px rgba(0,0,0,0.28);
  text-align: center; min-width: 140px;
}

.overview-img-badge .b-num { font-family: 'Barlow Condensed', sans-serif; font-size: 38px; font-weight: 900; color: var(--brand); line-height: 1; }

.overview-img-badge .b-lbl { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; line-height: 1.4; }

.overview-img-badge2 {
  position: absolute; top: 28px; left: -20px;
  background: var(--brand); color: var(--white); padding: 16px 22px;
  border-radius: var(--radius-lg); box-shadow: 0 8px 28px rgba(var(--brand-rgb),0.42);
  text-align: center;
}

.overview-img-badge2 .b2-icon { font-size: 28px; margin-bottom: 4px; display: block; }

.overview-img-badge2 .b2-text { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── SERVICES SCOPE ── */

.scope { padding: var(--section-pad); background: var(--gray-light); }

.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }

.scope-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px 28px;
  border: 1px solid #ECF0F5; position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.scope-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }

.scope-card:hover { transform: translateY(-6px); box-shadow: 0 18px 48px rgba(0,0,0,0.09); border-color: var(--brand); }

.scope-card:hover::after { transform: scaleX(1); }

.scope-card-icon { width: 60px; height: 60px; background: #FFF1E2; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 22px; }

.scope-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }

.scope-card p { font-size: 14px; color: #6B7887; line-height: 1.78; margin-bottom: 18px; }

.scope-list { list-style: none; }

.scope-list li { font-size: 13px; color: #4A5A6E; padding: 7px 0; border-bottom: 1px solid #F0F3F7; display: flex; align-items: center; gap: 8px; }

.scope-list li:last-child { border-bottom: none; }

.scope-list li::before { content: '✓'; color: var(--brand); font-weight: 800; font-size: 12px; flex-shrink: 0; }

/* ── SOLAR PLANT TYPES ── */

.plant-types { padding: var(--section-pad); background: var(--white); }

.pt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }

.pt-card {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer; background: var(--ink);
}

.pt-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.18); }

.pt-card-bg { height: 220px; position: relative; overflow: hidden; }

.pt-card-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }

.pt-card:hover .pt-card-bg img { transform: scale(1.07); }

.pt-card-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.65) 100%); }

.pt-card-tag { position: absolute; top: 16px; left: 16px; z-index: 1; background: var(--brand); color: white; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 4px 12px; border-radius: 2px; }

.pt-card-body { padding: 22px 22px 26px; background: var(--ink); }

.pt-card-body h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 19px; font-weight: 700; color: var(--white); margin-bottom: 8px; }

.pt-card-body p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.68; }

/* ── O&M HIGHLIGHT ── */

.om-section { padding: var(--section-pad); background: var(--ink); position: relative; overflow: hidden; }

.om-section::before {
  content: '☀'; position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  font-size: 320px; opacity: 0.04; line-height: 1; pointer-events: none;
}

.om-section .section-title { color: var(--white); }

.om-section .section-sub { color: rgba(255,255,255,0.55); }

.om-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 56px; }

.om-img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius-lg); display: block; }

.om-features { display: flex; flex-direction: column; gap: 20px; }

.om-feature { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); transition: border-color var(--transition), background var(--transition); }

.om-feature:hover { border-color: var(--brand); background: rgba(var(--brand-rgb),0.06); }

.om-feature-icon { width: 46px; height: 46px; background: rgba(var(--brand-rgb),0.14); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }

.om-feature h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 6px; }

.om-feature p { font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 1.72; }

/* ── PROCESS ── */

.process { padding: var(--section-pad); background: var(--gray-light); }

.process-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin-top: 56px; position: relative; }

.process-steps::before { content: ''; position: absolute; top: 36px; left: calc(100%/12); right: calc(100%/12); height: 2px; background: linear-gradient(to right, var(--brand) 50%, #D3DAE2 100%); z-index: 0; }

.p-step { text-align: center; position: relative; z-index: 1; padding: 0 8px; }

.p-dot { width: 72px; height: 72px; border-radius: 50%; background: var(--white); border: 3px solid var(--brand); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 26px; transition: background var(--transition), box-shadow var(--transition); }

.p-step:hover .p-dot { background: var(--brand); box-shadow: 0 0 0 8px rgba(var(--brand-rgb),0.12); }

.p-step h4 { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; line-height: 1.35; }

.p-step p { font-size: 11.5px; color: #8C96A3; line-height: 1.55; }

/* ── BENEFITS / WHY SOLAR ── */

.why-solar { padding: var(--section-pad); background: var(--white); }

.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 80px; margin-top: 56px; }

.benefit-item { display: flex; gap: 18px; align-items: flex-start; }

.benefit-icon { width: 52px; height: 52px; background: #FFF1E2; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }

.benefit-item h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }

.benefit-item p { font-size: 14px; color: #5B6979; line-height: 1.75; }

/* ── STATS STRIP ── */

.stats-strip { background: var(--ink); padding: 0; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid #3A4A5E; }

.stat-item { padding: 34px 24px; border-right: 1px solid #3A4A5E; text-align: center; position: relative; overflow: hidden; transition: background var(--transition); }

.stat-item:hover { background: rgba(var(--brand-rgb),0.08); }

.stat-item::before { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--brand); transform: scaleX(0); transition: transform var(--transition); }

.stat-item:hover::before { transform: scaleX(1); }

.stat-num { font-family: 'Barlow Condensed', sans-serif; font-size: 46px; font-weight: 800; color: var(--brand); line-height: 1; display: flex; align-items: baseline; justify-content: center; gap: 4px; }

.stat-num sup { font-size: 22px; }

.stat-label { font-size: 11.5px; color: #9DA7B3; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; }

/* ── TESTIMONIAL HIGHLIGHT ── */

.testi-highlight { padding: var(--section-pad); background: var(--gray-light); }

.th-inner { background: var(--white); border-radius: var(--radius-lg); padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; border: 1px solid #ECF0F5; }

.th-quote-mark { font-family: 'Barlow Condensed', sans-serif; font-size: 100px; color: #ECF0F5; line-height: 0.4; margin-bottom: 20px; font-weight: 900; }

.th-text p { font-size: 17px; color: var(--ink-mid); line-height: 1.85; font-style: italic; margin-bottom: 24px; }

.th-author { display: flex; align-items: center; gap: 14px; }

.th-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; color: white; flex-shrink: 0; }

.th-name { font-size: 14.5px; font-weight: 700; color: var(--ink); }

.th-role { font-size: 12.5px; color: var(--gray-mid); }

.th-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.th-stat { background: var(--gray-light); border-radius: var(--radius-lg); padding: 24px; text-align: center; border: 1px solid #ECF0F5; transition: border-color var(--transition); }

.th-stat:hover { border-color: var(--brand); }

.th-stat .ts-num { font-family: 'Barlow Condensed', sans-serif; font-size: 38px; font-weight: 900; color: var(--brand); line-height: 1; display: flex; align-items: baseline; justify-content: center; gap: 3px; }

.th-stat .ts-num sup { font-size: 18px; }

.th-stat .ts-lbl { font-size: 12px; color: #7C8896; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 6px; }

/* ── OTHER SERVICES ── */

.other-services { padding: var(--section-pad); background: var(--white); }

.os-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }

.os-card { display: block; text-decoration: none; background: var(--gray-light); border-radius: var(--radius-lg); padding: 28px 26px; transition: background var(--transition), transform var(--transition); border: 1px solid transparent; }

.os-card:hover { background: #FFF1E2; transform: translateY(-4px); border-color: var(--brand); }

.os-icon { width: 46px; height: 46px; background: var(--white); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }

.os-card h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }

.os-card p { font-size: 13px; color: #6B7887; line-height: 1.6; margin-bottom: 14px; }

.os-link { font-size: 12px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── CTA BAND ── */

.cta-band { padding: 80px 0; background: var(--brand); position: relative; overflow: hidden; }

.cta-band::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }

.cta-inner { text-align: center; position: relative; z-index: 1; }

.cta-inner h2 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(30px, 4vw, 52px); font-weight: 800; color: var(--white); margin-bottom: 14px; line-height: 1.1; }

.cta-inner p { font-size: 16px; color: rgba(255,255,255,0.87); margin-bottom: 34px; }

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

.btn-white { background: var(--white); color: var(--brand); padding: 14px 34px; border-radius: 3px; font-size: 14px; font-weight: 700; text-decoration: none; letter-spacing: 0.04em; text-transform: uppercase; transition: background var(--transition), transform var(--transition); display: inline-block; }

.btn-white:hover { background: #F4F7FA; transform: translateY(-2px); }

.btn-outline-white { border: 2px solid rgba(255,255,255,0.7); color: var(--white); padding: 14px 34px; border-radius: 3px; font-size: 14px; font-weight: 600; text-decoration: none; letter-spacing: 0.04em; text-transform: uppercase; transition: border-color var(--transition), background var(--transition); display: inline-block; }

.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* ── SCROLL ANIMATIONS ── */

.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }

.fade-up.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */

@media (max-width: 1024px) {
  .overview-grid { grid-template-columns: 1fr; gap: 56px; }
  .overview-img-badge { right: 16px; }
  .overview-img-badge2 { left: 16px; }
  .scope-grid { grid-template-columns: 1fr 1fr; }
  .pt-grid { grid-template-columns: 1fr 1fr; }
  .om-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .process-steps::before { display: none; }
  .benefits-grid { grid-template-columns: 1fr; gap: 28px; }
  .th-inner { grid-template-columns: 1fr; gap: 40px; padding: 36px; }
  .os-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .page-header { min-height: 300px; padding: 40px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .scope-grid { grid-template-columns: 1fr; }
  .pt-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .overview-img { height: 340px; }
  .os-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
  .th-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .overview-checklist { grid-template-columns: 1fr; }
  .th-stats { grid-template-columns: 1fr; }
}
