@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ═══════════════════════════════════════════════════════
   SOLITE ENERGY — Unified Design System
   Font: Outfit (only)
   Colors: Navy #0d1b2e + Green #4dc82a
   Backgrounds: White + #f5f5f5 (no colored sections)
═══════════════════════════════════════════════════════ */

:root {
  /* Brand */
  --navy:       #0d1b2e;
  --navy-80:    rgba(13,27,46,.8);
  --navy-60:    rgba(13,27,46,.6);
  --navy-20:    rgba(13,27,46,.2);
  --navy-08:    rgba(13,27,46,.08);
  --navy-lite:  #1e3352;
  --green:      #4dc82a;
  --green-dk:   #2d8b22;
  --green-mid:  #3aaa28;
  --green-pale: #e6f8e0;
  --green-bg:   #f0fdf4;

  /* Neutrals */
  --white:   #ffffff;
  --grey-1:  #f5f5f5;   /* alternate section bg */
  --grey-2:  #ebebeb;   /* borders */
  --grey-3:  #d4d4d4;   /* stronger border */
  --text:    #0d1b2e;   /* primary text */
  --body:    #3d4a5a;   /* body text */
  --muted:   #6b7280;   /* muted text */
  --light:   #9ca3af;   /* placeholder */

  /* Shadows */
  --sh-sm:  0 1px 4px rgba(13,27,46,.06);
  --sh:     0 4px 16px rgba(13,27,46,.09);
  --sh-lg:  0 10px 40px rgba(13,27,46,.12);
  --sh-xl:  0 20px 60px rgba(13,27,46,.16);
  --sh-g:   0 4px 20px rgba(77,200,42,.22);

  /* Radii */
  --r-xs: 6px;
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-xl: 24px;

  /* Layout */
  --nav-h: 72px;
  --pad-x: 5%;
  --max-w: 1160px;
}

/* ── RESET ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--body);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 {
  color: var(--text);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.01em;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul  { list-style: none; }

/* ── NAVBAR ────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--grey-2);
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 var(--pad-x); gap: 16px;
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(13,27,46,.07); }

/* Logo */
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img,
.nav-logo-img {
  height: 40px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
  display: block !important;
}
.logo-wordmark {
  font-size: 1.1rem; font-weight: 900;
  color: var(--navy); letter-spacing: .5px; white-space: nowrap;
}
.logo-wordmark em { color: var(--green); font-style: normal; }

/* Nav links */
.nav-links { display: flex; gap: 2px; flex: 1; justify-content: center; }
.nav-links a {
  padding: 7px 14px; border-radius: var(--r-sm);
  font-size: .88rem; font-weight: 500; color: var(--muted);
  transition: all .2s;
}
.nav-links a:hover { color: var(--text); background: var(--grey-1); }
.nav-links a.active { color: var(--green-dk); background: var(--green-pale); font-weight: 600; }

/* Nav right */
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.cart-btn {
  display: flex; align-items: center; gap: 7px; padding: 8px 16px;
  border-radius: var(--r-sm); border: 1.5px solid var(--grey-2);
  background: white; font-size: .85rem; font-weight: 600; color: var(--body);
  cursor: pointer; transition: all .2s; position: relative;
  font-family: 'Outfit', sans-serif;
}
.cart-btn:hover { border-color: var(--green); color: var(--green-dk); }
.cart-count {
  position: absolute; top: -7px; right: -7px;
  background: var(--green); color: white;
  font-size: .62rem; font-weight: 800;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid white;
}
.cta-nav {
  padding: 9px 20px; border-radius: var(--r-sm);
  background: var(--navy); color: white;
  font-size: .88rem; font-weight: 700;
  border: none; cursor: pointer; transition: all .2s;
  font-family: 'Outfit', sans-serif;
}
.cta-nav:hover { background: var(--navy-lite); }

/* Mobile */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px; border-radius: var(--r-sm);
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none; flex-direction: column;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: white; border-bottom: 1.5px solid var(--grey-2);
  z-index: 998; padding: 8px 0;
  box-shadow: 0 8px 32px rgba(13,27,46,.1);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 13px var(--pad-x); font-weight: 600; color: var(--text);
  border-bottom: 1px solid var(--grey-1); font-size: .95rem;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--green-dk); background: var(--green-pale); }
.mobile-menu .m-call-btn {
  background: var(--navy); color: white;
  margin: 8px var(--pad-x); border-radius: var(--r);
  border-bottom: none; text-align: center; font-weight: 700;
}

@media(max-width:768px) { .hamburger { display: flex; } .nav-links { display: none; } .cta-nav { display: none; } }

/* ── PAGE HEADER (inner pages) ──────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 56px) var(--pad-x) 56px;
  background: white;
  border-bottom: 1px solid var(--grey-2);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: var(--text); margin-bottom: 10px;
}
.page-hero h1 span { color: var(--green-dk); }
.page-hero p { color: var(--muted); max-width: 500px; margin: 0 auto; font-size: .97rem; }
.page-hero .eyebrow { color: var(--green-dk); }

/* ── SECTIONS ───────────────────────────────────────── */
.section { padding: 72px var(--pad-x); }
.section-h {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800; margin-bottom: 10px;
}
.section-h span { color: var(--green-dk); }
.section-sub { color: var(--muted); max-width: 500px; font-size: .95rem; line-height: 1.7; }
.section-center { text-align: center; }
.text-center { text-align: center; }

/* Eyebrow label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .7rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--green-dk); margin-bottom: 12px;
}
.eyebrow::before {
  content: ''; display: inline-block;
  width: 20px; height: 2px; background: var(--green); border-radius: 2px; flex-shrink: 0;
}

/* ── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 26px; border-radius: var(--r-sm); border: none; cursor: pointer;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: .95rem;
  transition: all .2s; white-space: nowrap; letter-spacing: .01em;
}
.btn-green  { background: var(--green);     color: white;       box-shadow: var(--sh-g); }
.btn-green:hover  { background: var(--green-mid); transform: translateY(-1px); }
.btn-navy   { background: var(--navy);      color: white; }
.btn-navy:hover   { background: var(--navy-lite); transform: translateY(-1px); }
.btn-outline { background: white; color: var(--text); border: 1.5px solid var(--grey-2); }
.btn-outline:hover { border-color: var(--green); color: var(--green-dk); background: var(--green-pale); }
.btn-ghost  { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,.35); }
.btn-ghost:hover  { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }
.btn-white  { background: white; color: var(--navy); }
.btn-white:hover  { background: var(--green-pale); }
.btn-lg { padding: 14px 30px; font-size: 1rem; }
.btn-sm { padding: 7px 16px; font-size: .82rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── CARDS ──────────────────────────────────────────── */
.card {
  background: white; border: 1.5px solid var(--grey-2);
  border-radius: var(--r-lg); padding: 24px; transition: all .25s;
}
.card:hover { border-color: var(--grey-3); box-shadow: var(--sh); }

/* ── FOOTER ─────────────────────────────────────────── */
footer {
  background: var(--navy);
  padding: 52px var(--pad-x) 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
  max-width: var(--max-w); margin-left: auto; margin-right: auto;
}
.footer-brand > p { font-size: .84rem; color: rgba(255,255,255,.45); line-height: 1.75; margin-top: 12px; }
.footer-logo-img,
.footer-brand img {
  height: 34px !important; width: auto !important; max-width: 160px !important;
  object-fit: contain !important; display: block !important;
  filter: brightness(0) invert(1); opacity: .75; margin-bottom: 12px;
}
.footer-logo-wm {
  display: none; font-size: .9rem; font-weight: 900;
  color: rgba(255,255,255,.7); letter-spacing: 1px; margin-bottom: 12px;
}
.footer-col h4 {
  font-size: .7rem; font-weight: 700; color: rgba(255,255,255,.3);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px;
}
.footer-col a, .footer-col span {
  display: block; font-size: .84rem; color: rgba(255,255,255,.5);
  margin-bottom: 9px; transition: color .2s;
}
.footer-col a:hover { color: rgba(255,255,255,.9); }
.footer-contact-item {
  display: flex; gap: 10px; font-size: .84rem;
  color: rgba(255,255,255,.5); margin-bottom: 9px;
}
.footer-contact-item span:first-child { color: rgba(255,255,255,.25); flex-shrink: 0; font-size: .7rem; text-transform: uppercase; letter-spacing: 1px; padding-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
  max-width: var(--max-w); margin: 0 auto;
}
.footer-bottom p { font-size: .77rem; color: rgba(255,255,255,.2); }
.footer-bottom span { color: rgba(77,200,42,.6); }

/* ── PRODUCT CARDS ──────────────────────────────────── */
.product-card {
  background: white; border: 1.5px solid var(--grey-2);
  border-radius: var(--r-lg); overflow: hidden;
  transition: all .25s; display: flex; flex-direction: column;
}
.product-card:hover { border-color: var(--grey-3); box-shadow: var(--sh-lg); transform: translateY(-3px); }
.p-img { width: 100%; height: 196px; object-fit: cover; }
.p-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.p-cat { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--green-dk); margin-bottom: 5px; }
.p-name { font-size: .97rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.p-desc { font-size: .82rem; color: var(--muted); line-height: 1.65; margin-bottom: 10px; flex: 1; }
.p-footer { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; }
.p-price { font-size: 1.25rem; font-weight: 800; color: var(--navy); }

/* ── TEAM ───────────────────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 48px; }
.team-card { background: white; border: 1.5px solid var(--grey-2); border-radius: var(--r-lg); overflow: hidden; transition: all .25s; }
.team-card:hover { border-color: var(--grey-3); box-shadow: var(--sh-lg); transform: translateY(-3px); }
.team-photo { width: 100%; height: 220px; object-fit: cover; object-position: top; }
.team-photo-placeholder { width: 100%; height: 220px; background: var(--navy); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.3); font-size: .85rem; font-weight: 600; }
.team-body { padding: 18px; }
.team-name { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.team-designation { font-size: .8rem; font-weight: 600; color: var(--green-dk); }
.team-bio { font-size: .8rem; color: var(--muted); margin-top: 6px; line-height: 1.65; }

/* ── FORMS ──────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-group label { font-size: .78rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: white; border: 1.5px solid var(--grey-2); color: var(--text);
  padding: 10px 13px; border-radius: var(--r-sm);
  font-family: 'Outfit', sans-serif; font-size: .9rem;
  transition: border-color .2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 96px; }

/* ── FILTER BAR ─────────────────────────────────────── */
.filter-bar { background: white; border-bottom: 1px solid var(--grey-2); padding: 14px var(--pad-x); display: flex; gap: 8px; flex-wrap: wrap; position: sticky; top: var(--nav-h); z-index: 99; }
.filter-btn { padding: 7px 16px; border-radius: 20px; border: 1.5px solid var(--grey-2); background: white; font-size: .8rem; font-weight: 600; font-family: 'Outfit',sans-serif; color: var(--muted); cursor: pointer; transition: all .2s; }
.filter-btn:hover { border-color: var(--grey-3); color: var(--text); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: white; }

/* ── CALCULATOR ─────────────────────────────────────── */
.cost-hero { padding: calc(var(--nav-h) + 52px) var(--pad-x) 52px; background: white; border-bottom: 1px solid var(--grey-2); text-align: center; }
.cost-hero h1 { font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 800; color: var(--text); margin-bottom: 10px; }
.cost-hero h1 span { color: var(--green-dk); }
.cost-hero p { color: var(--muted); max-width: 460px; margin: 0 auto; }
.mode-toggle-wrap { background: white; border-bottom: 1px solid var(--grey-2); padding: 0 var(--pad-x); position: sticky; top: var(--nav-h); z-index: 99; display: flex; }
.mode-tab { flex: 1; padding: 18px 20px; text-align: center; cursor: pointer; border-bottom: 2.5px solid transparent; font-weight: 600; font-size: .95rem; font-family: 'Outfit',sans-serif; color: var(--muted); transition: all .2s; }
.mode-tab.active { color: var(--green-dk); border-bottom-color: var(--green); }

/* ── CART ───────────────────────────────────────────── */
.cart-item { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--grey-2); }
.ci-img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r-sm); background: var(--grey-1); flex-shrink: 0; }
.ci-info { flex: 1; }
.ci-name { font-weight: 700; font-size: .92rem; color: var(--text); margin-bottom: 2px; }
.ci-cat { font-size: .7rem; font-weight: 700; color: var(--green-dk); text-transform: uppercase; letter-spacing: 1px; }
.ci-qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.ci-qty button { width: 28px; height: 28px; border-radius: var(--r-sm); border: 1.5px solid var(--grey-2); background: white; cursor: pointer; font-size: 1rem; font-family: 'Outfit',sans-serif; }
.ci-qty span { font-weight: 700; min-width: 20px; text-align: center; }
.ci-price { font-size: 1.05rem; font-weight: 800; color: var(--navy); flex-shrink: 0; }
.ci-remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: .84rem; padding: 4px; border-radius: var(--r-xs); }
.ci-remove:hover { color: #dc2626; background: #fef2f2; }
.del-tog-btn { display: flex; flex-direction: column; align-items: center; padding: 13px 16px; border: 1.5px solid var(--grey-2); border-radius: var(--r); cursor: pointer; transition: all .2s; background: white; flex: 1; }
.del-tog-btn.active { border-color: var(--green); background: var(--green-pale); }
.dtb-fee { font-size: 1rem; font-weight: 800; color: var(--navy); }
.ms-amount { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.period-option { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 12px; border: 1.5px solid var(--grey-2); border-radius: var(--r-sm); cursor: pointer; transition: all .2s; }
.period-option.active { border-color: var(--green); background: var(--green-pale); }
.period-monthly { font-weight: 800; font-size: 1rem; color: var(--navy); white-space: nowrap; }
.period-label { font-size: .7rem; color: var(--muted); }
.cst-val { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.po-price { font-size: 1.5rem; font-weight: 800; color: var(--navy); display: block; line-height: 1; }
.po-label { font-size: .68rem; color: var(--muted); font-weight: 600; margin-top: 3px; }

/* ── MODAL ──────────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(13,27,46,.55); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box { background: white; border-radius: var(--r-xl); padding: 30px; max-width: 480px; width: 90%; box-shadow: var(--sh-xl); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.modal-title { font-size: 1.15rem; font-weight: 700; color: var(--text); }
.modal-close { background: var(--grey-1); border: none; width: 30px; height: 30px; border-radius: var(--r-xs); cursor: pointer; font-size: .9rem; font-family: 'Outfit',sans-serif; }
.upsell-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.upsell-card { border: 1.5px solid var(--grey-2); border-radius: var(--r); padding: 12px; }
.u-name { font-size: .82rem; font-weight: 700; color: var(--text); }
.u-price { font-size: .9rem; font-weight: 800; color: var(--navy); }
.instalment-ribbon { background: var(--grey-1); border: 1px solid var(--grey-2); border-radius: var(--r-xs); padding: 7px 11px; font-size: .77rem; color: var(--muted); margin-top: 8px; }
.instalment-ribbon strong { color: var(--navy); font-weight: 700; }

/* ── CHIP ───────────────────────────────────────────── */
.chip { display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 20px; font-size: .73rem; font-weight: 700; }
.chip-navy { background: var(--grey-1); color: var(--navy); border: 1px solid var(--grey-2); }
.chip-green { background: var(--green-pale); color: var(--green-dk); border: 1px solid #c3e8b0; }
.chip-sun { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }

/* ── TOAST ──────────────────────────────────────────── */
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--navy); color: white; padding: 12px 20px; border-radius: var(--r); font-size: .87rem; font-weight: 600; display: flex; align-items: center; gap: 10px; z-index: 9999; box-shadow: var(--sh-xl); opacity: 0; transform: translateY(10px); transition: all .3s; pointer-events: none; font-family: 'Outfit',sans-serif; }
.toast.show { opacity: 1; transform: translateY(0); }

/* ── REVEAL ANIMATION ───────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ── PRODUCTS GRID ──────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 28px; }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media(max-width:1100px) {
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:768px) {
  :root { --pad-x: 4%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media(max-width:600px) {
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .section { padding: 52px var(--pad-x); }
  .filter-bar { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .filter-bar::-webkit-scrollbar { display: none; }
}
@media(max-width:400px) {
  .team-grid { grid-template-columns: 1fr; }
}
