/* =========================================================
   SANCHI RENEWABLES — Design System
   Display: Space Grotesk  |  Body: Inter  |  Data/Mono: IBM Plex Mono
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  --ink:        #0B1E3F;   /* primary navy - headings/text */
  --ink-soft:   #445069;   /* secondary text on light */
  --green:      #2F8F46;   /* brand green - CTAs, links */
  --green-deep: #1E5C33;   /* hover / deep green */
  --green-mist: #EAF4EC;   /* pale green tint bg */
  --saffron:    #E38726;   /* stupa-dome orange accent */
  --gold:       #F0A93A;   /* light accent */
  --panel-blue: #2C4A73;   /* solar-panel blue, data viz */
  --paper:      #FBFCFB;   /* off-white section bg */
  --white:      #FFFFFF;
  --line:       #E3E8E3;
  --shadow:     0 8px 28px rgba(11,30,63,0.08);
  --shadow-sm:  0 3px 10px rgba(11,30,63,0.06);
  --radius:     14px;
  --radius-sm:  9px;
  --maxw:       1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Inter',system-ui,sans-serif;
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Space Grotesk',sans-serif;
  color:var(--ink);
  line-height:1.15;
  margin:0 0 .5em;
  letter-spacing:-0.01em;
}
h1{ font-size:clamp(2.1rem,4.2vw,3.4rem); font-weight:700; }
h2{ font-size:clamp(1.7rem,3vw,2.5rem); font-weight:700; }
h3{ font-size:1.25rem; font-weight:600; }
p{ margin:0 0 1em; color:var(--ink-soft); }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
.mono{ font-family:'IBM Plex Mono',monospace; }

.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.section{ padding:88px 0; }
.section-tight{ padding:56px 0; }
.section-alt{ background:var(--paper); }
.section-ink{ background:var(--ink); color:#fff; }
.section-ink h2, .section-ink h3{ color:#fff; }
.section-ink p{ color:#C4CEDD; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'IBM Plex Mono',monospace;
  font-size:.72rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:var(--green-deep);
  background:var(--green-mist);
  border:1px solid #D3E9D8;
  padding:6px 14px; border-radius:999px;
  margin-bottom:18px;
}
.eyebrow::before{ content:''; width:6px; height:6px; border-radius:50%; background:var(--green); }
.eyebrow.orange{ color:#9A5A16; background:#FDF1E1; border-color:#F3D9AE; }
.eyebrow.orange::before{ background:var(--saffron); }

.lede{ font-size:1.1rem; max-width:640px; }
.center{ text-align:center; margin-left:auto; margin-right:auto; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:'Inter',sans-serif; font-weight:600; font-size:.95rem;
  padding:13px 26px; border-radius:999px; border:1px solid transparent;
  cursor:pointer; transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space:nowrap;
}
.btn-primary{ background:var(--green); color:#fff; box-shadow:0 6px 18px rgba(47,143,70,.28); }
.btn-primary:hover{ background:var(--green-deep); transform:translateY(-1px); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn-ghost:hover{ border-color:var(--ink); }
.btn-on-dark{ background:#fff; color:var(--ink); }
.btn-on-dark:hover{ background:var(--gold); transform:translateY(-1px); }
.btn-outline-orange{ border-color:var(--saffron); color:var(--saffron); background:transparent;}
.btn-outline-orange:hover{ background:var(--saffron); color:#fff; }
.btn-block{ width:100%; }
.btn-lg{ padding:16px 32px; font-size:1rem; }

/* ---------- Header / Nav ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,.92); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav-wrap{
  max-width:var(--maxw); margin:0 auto; padding:14px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ height:44px; width:44px; object-fit:contain; }
.brand-text{ display:flex; flex-direction:column; line-height:1.15; }
.brand-text b{ font-family:'Space Grotesk',sans-serif; font-size:1.05rem; letter-spacing:.01em; color:var(--ink); }
.brand-text span{ font-family:'IBM Plex Mono',monospace; font-size:.62rem; letter-spacing:.13em; color:var(--saffron); text-transform:uppercase; }

.nav-links{ display:flex; align-items:center; gap:28px; }
.nav-links a{
  font-size:.9rem; font-weight:500; color:var(--ink-soft);
  position:relative; padding:6px 0;
}
.nav-links a:hover, .nav-links a.active{ color:var(--ink); }
.nav-links a.active::after{
  content:''; position:absolute; left:0; right:0; bottom:0; height:2px; background:var(--green);
}
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-phone{ display:flex; align-items:center; gap:6px; font-size:.85rem; font-weight:600; color:var(--ink); }
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; }
.nav-toggle span{ display:block; width:24px; height:2px; background:var(--ink); margin:5px 0; }

@media (max-width:920px){
  .nav-links{
    position:fixed; inset:70px 0 0 0; background:#fff; flex-direction:column;
    justify-content:flex-start; align-items:flex-start; padding:28px 24px; gap:20px;
    transform:translateX(100%); transition:transform .25s ease; overflow-y:auto;
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-toggle{ display:block; }
  .nav-phone{ display:none; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative; overflow:hidden;
  background:linear-gradient(180deg,#F4F9F5 0%, #FFFFFF 65%);
  padding:64px 0 40px;
}
.hero-grid{
  display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center;
}
.hero-copy h1{ margin-bottom:20px; }
.hero-copy .lede{ font-size:1.15rem; margin-bottom:32px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:36px; }
.hero-stats{ display:flex; gap:0; border-top:1px solid var(--line); padding-top:22px; flex-wrap:wrap; }
.hero-stats div{ flex:1; min-width:110px; padding-right:18px; }
.hero-stats b{ font-family:'Space Grotesk',sans-serif; font-size:1.6rem; color:var(--ink); display:block; }
.hero-stats span{ font-size:.78rem; color:var(--ink-soft); }

/* Solar panel array — CSS-drawn visual signature */
.panel-array{
  position:relative; aspect-ratio:1/0.92; border-radius:20px; overflow:hidden;
  background:radial-gradient(circle at 30% 20%, #F0AA3C 0%, #E38726 24%, transparent 45%),
             linear-gradient(160deg,#0B1E3F 0%, #16305C 55%, #1E4373 100%);
  box-shadow:var(--shadow);
}
.panel-array .grid{
  position:absolute; left:8%; right:8%; bottom:10%; top:46%;
  display:grid; grid-template-columns:repeat(4,1fr); grid-template-rows:repeat(3,1fr);
  gap:6px; transform:perspective(700px) rotateX(28deg);
}
.panel-array .cell{
  background:linear-gradient(160deg,#2C4A73,#1B3355);
  border:1px solid rgba(255,255,255,.18);
  border-radius:3px;
  background-image:
    linear-gradient(160deg,#2C4A73,#1B3355),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 33%);
}
.panel-array .sun{
  position:absolute; top:14%; right:16%; width:64px; height:64px; border-radius:50%;
  background:radial-gradient(circle,#FFE49B, #F0A93A 60%, transparent 72%);
  filter:blur(.5px);
}
.panel-array .badge{
  position:absolute; left:20px; top:20px;
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25);
  color:#fff; font-family:'IBM Plex Mono',monospace; font-size:.68rem; letter-spacing:.08em;
  padding:8px 12px; border-radius:8px; backdrop-filter:blur(4px);
}

@media (max-width:920px){
  .hero-grid{ grid-template-columns:1fr; }
  .panel-array{ order:-1; aspect-ratio:1/0.7; }
}

/* ---------- Cards ---------- */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
@media (max-width:900px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } .grid-2{grid-template-columns:1fr;} }
@media (max-width:600px){ .grid-3,.grid-4{ grid-template-columns:1fr; } }

.card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:26px 24px; box-shadow:var(--shadow-sm); transition:transform .15s ease, box-shadow .15s ease;
}
.card:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
.card .icon{
  width:46px; height:46px; border-radius:12px; background:var(--green-mist);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
  font-size:1.3rem;
}
.card h3{ margin-bottom:8px; font-size:1.05rem; }
.card p{ font-size:.92rem; margin-bottom:0; }

.step-num{
  font-family:'IBM Plex Mono',monospace; font-weight:600; font-size:.78rem;
  color:var(--green-deep); background:var(--green-mist); border-radius:999px;
  width:30px; height:30px; display:flex; align-items:center; justify-content:center;
  margin-bottom:14px;
}

/* ---------- Section header ---------- */
.section-head{ max-width:680px; margin-bottom:48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- Badge row (registrations) ---------- */
.badge-row{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; }
.badge-pill{
  display:flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--line);
  border-radius:999px; padding:9px 16px; font-size:.82rem; font-weight:600; color:var(--ink);
  box-shadow:var(--shadow-sm);
}
.badge-pill .dot{ width:7px; height:7px; border-radius:50%; background:var(--green); }

/* ---------- Divider strip ---------- */
.strip{
  background:var(--ink); color:#fff; padding:16px 0;
}
.strip .container{ display:flex; flex-wrap:wrap; gap:10px 34px; justify-content:center; }
.strip span{ font-family:'IBM Plex Mono',monospace; font-size:.72rem; letter-spacing:.08em; color:#BFD0E4; display:flex; align-items:center; gap:8px;}
.strip span::before{ content:'✓'; color:var(--green); }

/* ---------- CTA band ---------- */
.cta-band{
  background:linear-gradient(120deg,#0B1E3F 0%,#16305C 100%);
  border-radius:24px; padding:52px 44px; color:#fff;
  display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
  position:relative; overflow:hidden;
}
.cta-band::after{
  content:''; position:absolute; right:-60px; top:-60px; width:220px; height:220px; border-radius:50%;
  background:radial-gradient(circle,rgba(240,169,58,.35),transparent 70%);
}
.cta-band h2{ color:#fff; margin-bottom:8px; font-size:1.7rem; }
.cta-band p{ color:#C4CEDD; margin-bottom:0; }
.cta-band .actions{ display:flex; gap:14px; flex-wrap:wrap; position:relative; z-index:1; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--ink); color:#C4CEDD; padding:64px 0 0; }
.footer-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:36px; padding-bottom:44px;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.footer-grid h4{ color:#fff; font-size:.85rem; letter-spacing:.06em; text-transform:uppercase; font-family:'IBM Plex Mono',monospace; margin-bottom:16px; }
.footer-grid a{ display:block; font-size:.9rem; color:#AEC0D6; padding:6px 0; }
.footer-grid a:hover{ color:#fff; }
.footer-brand{ display:flex; gap:10px; margin-bottom:14px; }
.footer-brand img{ height:42px; width:42px; }
.footer-brand b{ font-family:'Space Grotesk',sans-serif; color:#fff; font-size:1.05rem; }
.footer-brand span{ display:block; font-family:'IBM Plex Mono',monospace; font-size:.62rem; letter-spacing:.12em; color:var(--gold); text-transform:uppercase; }
.footer-desc{ font-size:.88rem; max-width:280px; color:#93A6BF; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px;
  padding:22px 0; font-size:.8rem; color:#7E90A9;
}
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  background:var(--ink); color:#fff; padding:64px 0 56px; position:relative; overflow:hidden;
}
.page-hero::after{
  content:''; position:absolute; right:-10%; top:-40%; width:420px; height:420px; border-radius:50%;
  background:radial-gradient(circle,rgba(240,169,58,.22),transparent 70%);
}
.page-hero h1{ color:#fff; margin-bottom:12px; }
.page-hero p{ color:#C4CEDD; max-width:600px; }
.breadcrumb{ font-family:'IBM Plex Mono',monospace; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:var(--gold); margin-bottom:16px; display:block;}

/* ---------- Utility ---------- */
.flex{ display:flex; }
.gap-10{ gap:10px; } .gap-16{ gap:16px; }
.mt-0{margin-top:0;} .mb-0{margin-bottom:0;}
.text-soft{ color:var(--ink-soft); }
.small{ font-size:.85rem; }
