/* Solar Hub Energy — Pro layout (sleek, modern, responsive) */

body.she-site {
  --she-radius: 16px;
  --she-radius-lg: 24px;
  --she-radius-pill: 999px;
  --she-section-y: clamp(2.25rem, 4vw, 3.5rem);
  --she-container: min(1140px, 100% - 2rem);
  --she-glow-green: rgba(6, 113, 31, 0.35);
  --she-glow-orange: rgba(244, 119, 33, 0.28);
  --she-glass: rgba(255, 255, 255, 0.06);
  --she-line: linear-gradient(90deg, transparent, var(--clr-primary), var(--clr-secondary), transparent);
}

body.she-site {
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  scroll-padding-top: 96px;
}

/* ——— Layout ——— */
body.she-site .she-section {
  padding: var(--she-section-y) 0;
  position: relative;
}

body.she-site .she-section--tight {
  padding-top: 0;
  padding-bottom: var(--she-section-y);
}

body.she-site .section-pad {
  padding: var(--she-section-y) 0;
}

body.she-site .section-pad.pt-0 {
  padding-top: 0;
}

/* ——— Section hierarchy ——— */
body.she-site .she-section-head {
  max-width: 720px;
  margin-bottom: clamp(1rem, 2.5vw, 1.65rem);
}

body.she-site .she-section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body.she-site .she-section-head--center .she-section-desc {
  margin-left: auto;
  margin-right: auto;
}

body.she-site .she-kicker,
body.she-site .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--she-radius-pill);
  border: 1px solid var(--clr-border);
  background: var(--she-glass);
  color: var(--clr-secondary);
  backdrop-filter: blur(8px);
}

html[data-theme="light"] body.she-site .she-kicker,
html[data-theme="light"] body.she-site .eyebrow {
  background: rgba(6, 113, 31, 0.08);
  color: var(--clr-primary-dark);
}

body.she-site .she-section-title,
body.she-site .section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-top: 1rem;
  color: var(--clr-text);
}

body.she-site .she-section-desc,
body.she-site .section-sub {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  line-height: 1.7;
  color: var(--clr-text-muted);
  max-width: 56ch;
  margin-top: 0.85rem;
}

body.she-site .she-section-head::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 1.25rem;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
}

body.she-site .she-section-head--center::after {
  margin-left: auto;
  margin-right: auto;
}

/* ——— Navbar ——— */
body.she-site .navbar-hw {
  padding: 8px 0;
}

body.she-site .navbar-hw.scrolled {
  background: var(--clr-nav-bg) !important;
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--clr-border);
  box-shadow: 0 12px 40px -20px rgba(0, 0, 0, 0.45);
  padding: 6px 0;
}

html[data-theme="dark"] body.she-site .navbar-hw.scrolled {
  background: rgba(0, 0, 0, 0.88) !important;
}

body.she-site .she-brand__img {
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  background: transparent;
}

body.she-site .nav-hw {
  gap: 4px;
}

body.she-site .nav-hw .nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 14px !important;
  border-radius: var(--she-radius-pill);
  opacity: 0.88;
  transition: background 0.25s, color 0.25s, opacity 0.25s;
}

body.she-site .nav-hw .nav-link::after {
  display: none;
}

body.she-site .nav-hw .nav-link:hover,
body.she-site .nav-hw .nav-link:focus {
  opacity: 1;
  background: var(--she-glass);
  color: var(--clr-text);
}

html[data-theme="light"] body.she-site .nav-hw .nav-link:hover {
  background: rgba(6, 113, 31, 0.1);
  color: var(--clr-primary-dark);
}

body.she-site .nav-actions {
  gap: 10px;
}

body.she-site .theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

body.she-site .btn-hw-primary {
  padding: 12px 22px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--clr-primary) 0%, #0a8a28 50%, var(--clr-primary-dark) 100%);
  box-shadow: 0 12px 28px -12px var(--she-glow-green);
}

body.she-site .btn-hw-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px var(--she-glow-green);
}

body.she-site .btn-hw-outline {
  border-radius: var(--she-radius-pill);
  border-width: 1.5px;
  font-weight: 600;
  font-size: 0.875rem;
  background: transparent;
  border-color: var(--clr-border);
}

html[data-theme="dark"] body.she-site .btn-hw-outline {
  background: rgba(255, 255, 255, 0.03);
}

body.she-site #navMenu.navbar-collapse {
  align-items: center;
}

body.she-site #mainNav > .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 8px;
}

body.she-site .she-brand {
  order: 1;
}

body.she-site .she-nav-cta {
  order: 2;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  padding: 0 12px !important;
  font-size: clamp(0.72rem, 2.4vw, 0.82rem);
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
}

body.she-site .she-nav-cta:hover {
  transform: translateY(-1px);
}

body.she-site #mainNav .navbar-toggler {
  order: 3;
  padding: 2px 4px;
  line-height: 1;
}

body.she-site #navMenu {
  order: 4;
}

@media (min-width: 992px) {
  body.she-site #mainNav > .container {
    flex-wrap: nowrap;
  }

  body.she-site .she-brand__img {
    height: 42px;
    max-width: 176px;
  }

  body.she-site #navMenu {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
  }

  body.she-site .she-nav-cta {
    order: 3;
    margin-left: 10px;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    padding: 0 16px !important;
    font-size: 0.82rem;
    flex: 0 0 auto;
  }

  body.she-site .nav-hw .nav-link {
    padding: 6px 10px !important;
    font-size: 0.8rem;
  }
}

@media (min-width: 1200px) {
  body.she-site .nav-hw .nav-link {
    padding: 8px 14px !important;
    font-size: 0.875rem;
  }
}

@media (max-width: 991.98px) {
  body.she-site #navMenu.navbar-collapse.show,
  body.she-site #navMenu.navbar-collapse.collapsing {
    margin-top: 0.75rem;
    padding: 1rem 1.15rem;
    border-radius: var(--she-radius-lg);
    border: 1px solid var(--clr-border);
    background: var(--clr-surface);
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.5);
    flex-basis: 100%;
  }

  body.she-site .nav-hw .nav-link {
    padding: 12px 14px !important;
    width: 100%;
  }

  body.she-site .nav-actions {
    width: 100%;
    flex-direction: row;
    justify-content: flex-end;
  }

  body.she-site .nav-actions .theme-toggle {
    align-self: flex-end;
  }
}

/* ——— Hero ——— */
body.she-site .she-hero {
  padding: clamp(6.5rem, 14vw, 9.5rem) 0 clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}

body.she-site .she-hero .blob {
  display: none;
}

body.she-site .she-hero .hero-glow {
  width: min(680px, 90vw);
  height: min(680px, 90vw);
  top: -20%;
  right: -25%;
  background: radial-gradient(circle, var(--she-glow-green) 0%, transparent 65%);
  opacity: 0.9;
}

body.she-site .she-hero::before {
  content: "";
  position: absolute;
  left: -10%;
  bottom: 0;
  width: 50%;
  height: 60%;
  background: radial-gradient(circle, var(--she-glow-orange) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.5;
}

body.she-site .she-hero .hero-title {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.05;
  max-width: 14ch;
}

body.she-site .she-hero .hero-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 48ch;
}

body.she-site .she-trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.75rem;
  padding: 0;
  border: none;
}

body.she-site .she-trust-pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  padding: 10px 14px;
  border-radius: var(--she-radius-pill);
  border: 1px solid var(--clr-border);
  background: var(--she-glass);
}

body.she-site .she-trust-pills i {
  color: var(--clr-primary);
}

body.she-site .hero-media-frame--brand {
  border: none;
  padding: 0;
  background: transparent;
  box-shadow: 0 32px 64px -32px rgba(0, 0, 0, 0.55);
  position: relative;
}

body.she-site .hero-media-frame--brand::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--she-radius-lg) + 3px);
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary));
  z-index: -1;
  opacity: 0.85;
}

body.she-site .hero-media-frame--brand img {
  border-radius: var(--she-radius-lg);
}

body.she-site .float-card {
  background: rgba(10, 10, 10, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px 16px;
  animation: none;
}

html[data-theme="light"] body.she-site .float-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--clr-border);
}

body.she-site .float-card-1 {
  top: 6%;
  left: 4%;
}

body.she-site .float-card-2 {
  bottom: 8%;
  right: 4%;
}

@media (max-width: 991.98px) {
  body.she-site .she-hero .hero-title {
    max-width: none;
  }

  body.she-site .float-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin-top: 12px;
  }

  body.she-site .hero-media {
    display: flex;
    flex-direction: column;
  }

  body.she-site .hero-media-frame--brand {
    order: 1;
  }

  body.she-site .hero-media .float-card {
    order: 2;
  }
}

@media (max-width: 575.98px) {
  body.she-site .she-hero .d-flex.flex-wrap.gap-3 {
    flex-direction: column;
  }

  body.she-site .she-hero .d-flex.flex-wrap.gap-3 .btn-hw-primary,
  body.she-site .she-hero .d-flex.flex-wrap.gap-3 .btn-hw-outline {
    width: 100%;
    justify-content: center;
  }
}

/* ——— Stats ——— */
body.she-site .she-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

body.she-site .she-stat-card {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--she-radius-lg);
  border: 1px solid var(--clr-border);
  background: var(--clr-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}

body.she-site .she-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
  opacity: 0.85;
}

body.she-site .she-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 113, 31, 0.35);
}

body.she-site .she-stat-card .stat-num {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--clr-text);
  line-height: 1;
}

body.she-site .she-stat-card .stat-label {
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  opacity: 1;
}

body.she-site #impact .stats-band {
  display: none;
}

/* Solutions stay a normal 2-column wrap on phones (see solar-hub-minimal.css). */

@media (max-width: 767.98px) {
  body.she-site .she-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 399.98px) {
  body.she-site .she-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Surfaces & cards ——— */
body.she-site .contact-card,
body.she-site .about-card {
  border-radius: var(--she-radius-lg);
  border: 1px solid var(--clr-border);
  background: var(--clr-card);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 24px 48px -40px rgba(0, 0, 0, 0.4);
}

body.she-site .section-alt {
  background: transparent;
  position: relative;
}

body.she-site .section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--clr-surface);
  opacity: 0.55;
  z-index: -1;
}

html[data-theme="dark"] body.she-site .section-alt::before {
  opacity: 0.35;
}

body.she-site .service-card,
body.she-site .why-card,
body.she-site .solution-card,
body.she-site .project-card {
  border-radius: var(--she-radius-lg);
  border: 1px solid var(--clr-border);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

body.she-site .service-card:hover,
body.she-site .why-card:hover,
body.she-site .solution-card:hover,
body.she-site .project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 113, 31, 0.35);
  box-shadow: 0 20px 40px -28px var(--she-glow-green);
}

body.she-site .service-ic {
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(6, 113, 31, 0.2), rgba(6, 113, 31, 0.05));
  color: var(--clr-primary);
}

html[data-theme="light"] body.she-site .service-ic {
  color: var(--clr-primary-dark);
}

body.she-site .service-card h5 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

/* ——— Process ——— */
body.she-site .she-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: she-step;
}

body.she-site .she-process-item {
  padding: 1.5rem;
  border-radius: var(--she-radius-lg);
  border: 1px solid var(--clr-border);
  background: var(--clr-card);
  position: relative;
}

body.she-site .she-process-item .hiw-num {
  width: 44px;
  height: 44px;
  font-size: 1rem;
  margin-bottom: 1rem;
}

body.she-site #how .hiw-line,
body.she-site #how .hiw-wrap .row {
  display: none;
}

@media (max-width: 991.98px) {
  body.she-site .she-process {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  body.she-site .she-process {
    grid-template-columns: 1fr;
  }
}

/* ——— Testimonials & CTA ——— */
body.she-site .testi-section {
  border-radius: var(--she-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, #045016 0%, #06711f 40%, #0a0a0a 100%) !important;
}

body.she-site .testi-card {
  border-radius: var(--she-radius);
  border: 1px solid var(--clr-border);
}

body.she-site .pricing-band,
body.she-site .she-cta-panel {
  border-radius: var(--she-radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(125deg, #0a0a0a 0%, #045016 35%, #06711f 70%, #f47721 140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

body.she-site .she-cta-panel::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--she-glow-orange), transparent 70%);
  top: -80px;
  right: -60px;
  pointer-events: none;
}

body.she-site .she-cta-panel h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  position: relative;
  z-index: 1;
}

/* ——— Flyer grid ——— */
body.she-site .flyer-grid {
  gap: 16px;
}

body.she-site .flyer-card {
  border-radius: var(--she-radius);
}

/* ——— Contact & footer ——— */
body.she-site .form-control-hw {
  border-radius: 12px;
  padding: 12px 16px;
  border-color: var(--clr-border);
}

body.she-site .map-embed {
  border-radius: var(--she-radius);
}

body.she-site .map-embed iframe {
  height: 260px;
}

body.she-site .footer-hw {
  border-top: 1px solid var(--clr-border);
}

body.she-site .footer-wave {
  display: none;
}

body.she-site .whatsapp-float {
  left: 22px;
  right: auto;
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

body.she-site #scrollTop {
  right: 22px;
  left: auto;
  z-index: 1045;
}

body.she-site .mobile-cta-bar {
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 991.98px) {
  body.she-site {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
}

html[data-theme="light"] body.she-site .navbar-hw.scrolled {
  background: rgba(255, 255, 255, 0.92) !important;
}

body.she-site .solution-body h5 {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.she-site .solution-body h5::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-secondary);
  flex-shrink: 0;
}

body.she-site .project-meta span {
  border: 1px solid var(--clr-border);
  background: transparent;
  color: var(--clr-text-muted);
}

html[data-theme="light"] body.she-site .project-meta span {
  background: var(--clr-primary-light);
  color: var(--clr-primary-dark);
  border: none;
}

/* ——— Preloader ——— */
body.she-site #preloader.she-preload {
  background: #000;
}

body.she-site #preloader.she-preload::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, var(--she-glow-green), transparent 55%);
}

body.she-site .preload-text {
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  opacity: 0.7;
}

/* Subpages */
body.she-site.policy-page .policy-hero {
  padding-top: clamp(7rem, 12vw, 9rem);
  padding-bottom: 3rem;
}

body.she-site .navbar-toggler {
  color: var(--clr-text);
}
