/* =========================================================
   HOME V3 — clean OpenSolar / SolarKita-style component system
   Pure white canvas, green accents. All new sections use the
   uh-* classes below (foundation) + their own scoped classes.
   ========================================================= */

/* ---------------- Foundation ---------------- */
body:is(.home-page,.uh-page) .uh-sec { position: relative; padding: clamp(24px, 3vw, 44px) 0; background: #ffffff; }
body:is(.home-page,.uh-page) .uh-container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }

body:is(.home-page,.uh-page) .uh-head { max-width: 780px; margin: 0 auto clamp(40px, 5vw, 62px); text-align: center; }
body:is(.home-page,.uh-page) .uh-head.uh-head--left { text-align: left; margin-left: 0; margin-right: 0; }

body:is(.home-page,.uh-page) .uh-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px; border-radius: 999px;
  background: rgba(0, 191, 72, .08); border: 1px solid rgba(0, 191, 72, .2);
  color: #017530; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
body:is(.home-page,.uh-page) .uh-eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #00bf48; box-shadow: 0 0 0 3px rgba(0, 191, 72, .18);
}

body:is(.home-page,.uh-page) .uh-h2 {
  margin: 18px 0 14px; font-family: 'Poppins', 'DM Sans', sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.08; letter-spacing: -.038em;
  color: #0c2a17; font-weight: 800;
}
body:is(.home-page,.uh-page) .uh-h2 em {
  font-style: normal;
  background: linear-gradient(120deg, #00bf48, #017530);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
body:is(.home-page,.uh-page) .uh-h3 { font-family: 'Poppins','DM Sans',sans-serif; color: #0c2a17; font-weight: 700; letter-spacing: -.02em; }
body:is(.home-page,.uh-page) .uh-lead { margin: 0; color: #4a6154; font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.75; }
body:is(.home-page,.uh-page) .uh-head .uh-lead { max-width: 640px; margin-inline: auto; }
body:is(.home-page,.uh-page) .uh-head--left .uh-lead { margin-inline: 0; }
body:is(.home-page,.uh-page) .uh-sec p { color: #4a6154; }
body:is(.home-page,.uh-page) .uh-muted { color: #6b8177; }

/* Buttons */
body:is(.home-page,.uh-page) .uh-btn, body:is(.home-page,.uh-page) .uh-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, filter .25s ease;
}
body:is(.home-page,.uh-page) .uh-btn {
  background: linear-gradient(135deg, #5fe845 0%, #00bf48 46%, #017530 100%);
  color: #04240f !important; box-shadow: 0 14px 30px rgba(0, 191, 72, .3);
}
body:is(.home-page,.uh-page) .uh-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(0, 191, 72, .4); filter: brightness(1.04); }
body:is(.home-page,.uh-page) .uh-btn-ghost { background: #fff; border: 1.5px solid rgba(1, 69, 32, .16); color: #017530 !important; }
body:is(.home-page,.uh-page) .uh-btn-ghost:hover { transform: translateY(-2px); border-color: rgba(0, 191, 72, .5); background: #f4fbf3; }
body:is(.home-page,.uh-page) .uh-link { display: inline-flex; align-items: center; gap: 8px; color: #00bf48 !important; font-weight: 700; text-decoration: none; }
body:is(.home-page,.uh-page) .uh-link i, body:is(.home-page,.uh-page) .uh-link svg { transition: transform .2s ease; }
body:is(.home-page,.uh-page) .uh-link:hover i { transform: translateX(4px); }

/* Card + icon */
body:is(.home-page,.uh-page) .uh-card {
  background: #fff; border: 1px solid rgba(1, 69, 32, .07); border-radius: 20px;
  box-shadow: 0 10px 34px rgba(1, 51, 24, .05);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease, border-color .35s ease;
}
body:is(.home-page,.uh-page) .uh-card:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(1, 51, 24, .1); border-color: rgba(0, 191, 72, .22); }
body:is(.home-page,.uh-page) .uh-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  font-size: 22px; color: #fff !important; background: linear-gradient(135deg, #00bf48, #017530);
  box-shadow: 0 12px 26px rgba(0, 191, 72, .26); flex-shrink: 0;
}
body:is(.home-page,.uh-page) .uh-icon i { color: #fff !important; }

/* Media */
body:is(.home-page,.uh-page) .uh-media { position: relative; overflow: hidden; border-radius: 24px; }
body:is(.home-page,.uh-page) .uh-media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Grids */
body:is(.home-page,.uh-page) .uh-grid { display: grid; gap: 24px; }
body:is(.home-page,.uh-page) .uh-g2 { grid-template-columns: repeat(2, 1fr); }
body:is(.home-page,.uh-page) .uh-g3 { grid-template-columns: repeat(3, 1fr); }
body:is(.home-page,.uh-page) .uh-g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { body:is(.home-page,.uh-page) .uh-g3, body:is(.home-page,.uh-page) .uh-g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { body:is(.home-page,.uh-page) .uh-g2, body:is(.home-page,.uh-page) .uh-g3, body:is(.home-page,.uh-page) .uh-g4 { grid-template-columns: 1fr; } }

/* Split (media + copy) */
body:is(.home-page,.uh-page) .uh-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
body:is(.home-page,.uh-page) .uh-split--wide-left { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 900px) { body:is(.home-page,.uh-page) .uh-split, body:is(.home-page,.uh-page) .uh-split--wide-left { grid-template-columns: 1fr; } }

/* Pill / badge */
body:is(.home-page,.uh-page) .uh-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
body:is(.home-page,.uh-page) .uh-badge--green { background: rgba(0, 191, 72, .1); color: #017530; }
body:is(.home-page,.uh-page) .uh-badge--orange { background: #fff1e6; color: #ea580c; }
