/*
Theme Name: HelioVault Solutions
Theme URI: https://www.heliovaultsolutions.com
Author: HelioVault Solutions
Description: Corporate WordPress theme for renewable energy (Solar PV, BESS, Microgrids) with WhatsApp CTA and Hero + Navigation Cards page template.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Text Domain: heliovault
*/
:root{--hv-blue:#1A73E8;--hv-green:#16A34A;--hv-gray:#F5F5F5}
*{box-sizing:border-box}
body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;margin:0;color:#111;background:#F5F5F5}
a{color:var(--hv-green);text-decoration:none}
header,footer{background:var(--hv-blue);color:#fff}
header .wrap,footer .wrap,main .wrap{max-width:1120px;margin:0 auto;padding:16px 24px}
.site-title{font-weight:700;font-size:22px;margin:0}
nav ul{list-style:none;margin:0;padding:0;display:flex;gap:16px;flex-wrap:wrap}
nav a{color:#fff;opacity:.95}nav a:hover{opacity:1}
section{background:#fff;margin:24px auto;border-radius:10px;box-shadow:0 6px 18px rgba(0,0,0,.06);padding:32px}
h1,h2,h3{color:#0f172a;margin:0 0 12px}
.hero{background:#fff url('./assets/images/hero.jpg') center/cover no-repeat;border-radius:10px;color:#0f172a;min-height:260px;display:flex;flex-direction:column;justify-content:flex-end;padding:24px}
.hero h1{margin:0 0 6px}.badge{display:inline-block;background:var(--hv-green);color:#fff;padding:6px 10px;border-radius:999px;font-size:12px;margin-top:6px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{border:1px solid #e5e7eb;border-radius:12px;padding:16px;background:#fff}
.card h3{margin:0 0 8px}
.btn{display:inline-block;padding:10px 14px;border-radius:8px}
.btn-primary{background:var(--hv-blue);color:#fff}
.btn-outline{border:1px solid var(--hv-blue);color:var(--hv-blue);background:#fff}
footer .footer-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer-note{opacity:.9;font-size:13px}
/* nav cards (included by default) */
.hv-nav-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.hv-card{border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;background:#fff;display:flex;flex-direction:column;transition:.2s}
.hv-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(0,0,0,.08)}
.hv-thumb{height:160px;background:#f3f4f6;background-position:center;background-size:cover}
.hv-body{padding:14px}
.hv-body h3{margin:0 0 6px;font-size:18px;color:#0f172a}
.hv-body p{margin:0;color:#475569;font-size:14px}
@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}.hv-nav-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:580px){.grid{grid-template-columns:1fr}.hv-nav-grid{grid-template-columns:1fr}}
.whatsapp-float{position:fixed;right:18px;bottom:18px;width:58px;height:58px;border-radius:999px;background:#25D366;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 28px rgba(0,0,0,.18);z-index:9999}
.whatsapp-float img{filter:invert(1);width:28px;height:28px}