/* ===== Design tokens ===== */
:root {
  --navy: #0a2540;
  --navy-2: #0f3050;
  --gold: #f5a623;
  --gold-2: #ffb84d;
  --green: #2e9e4f;
  --ink: #16233a;
  --muted: #5b6b82;
  --bg: #f6f8fb;
  --card: #ffffff;
  --border: #e6ebf2;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 37, 64, 0.16);
  --whatsapp: #25d366;
  --whatsapp-dark: #1eab52;
  --container: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
h1, h2, h3, h4, .brand-mark {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}
.mono { font-family: "IBM Plex Mono", monospace; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); }
.btn-lg { padding: 18px 38px; font-size: 1.15rem; }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ===== Blueprint corner ticks ===== */
.corner-ticks { position: absolute; inset: 0; pointer-events: none; }
.corner-ticks span { position: absolute; width: 16px; height: 16px; }
.corner-ticks span::before, .corner-ticks span::after { content: ""; position: absolute; background: rgba(245, 166, 35, 0.55); }
.corner-ticks span::before { width: 16px; height: 1px; top: 0; left: 0; }
.corner-ticks span::after { width: 1px; height: 16px; top: 0; left: 0; }
.corner-ticks .tl { top: 20px; left: 20px; }
.corner-ticks .tr { top: 20px; right: 20px; }
.corner-ticks .tr::before, .corner-ticks .tr::after { left: auto; right: 0; }
.corner-ticks .bl { bottom: 20px; left: 20px; }
.corner-ticks .bl::before, .corner-ticks .bl::after { top: auto; bottom: 0; }
.corner-ticks .br { bottom: 20px; right: 20px; }
.corner-ticks .br::before, .corner-ticks .br::after { top: auto; bottom: 0; left: auto; right: 0; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-mark {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--navy);
  text-transform: uppercase;
}
.brand-mark.small { font-size: 1.2rem; }
.brand-mark .accent { color: var(--gold); }
.brand-tag { font-family: "IBM Plex Mono", monospace; font-size: 0.66rem; color: var(--muted); font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  opacity: 0.8;
  transition: opacity .15s;
}
.main-nav a:hover { opacity: 1; }
.main-nav a.nav-active { opacity: 1; color: var(--gold); }
.main-nav a.nav-active::after { content: ""; display: block; height: 2px; background: var(--gold); margin-top: 4px; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #0c3a5e 100%);
  color: #fff;
  padding: 72px 0 90px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(245, 166, 35, 0.18);
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(245,166,35,0.35), transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero-inner-center {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  font-size: 0.76rem;
  color: var(--gold);
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.eyebrow.center { justify-content: center; width: 100%; }
.eyebrow.light { color: var(--gold-2); }
.eyebrow.light::before { background: var(--gold-2); }
.hero h1 {
  font-size: 2.7rem;
  line-height: 1.15;
  margin: 0 0 18px;
  font-weight: 800;
}
.hero h1.center { margin-left: auto; margin-right: auto; }
.accent-text { color: var(--gold-2); }
.hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin: 0 0 28px;
}
.hero-sub.center { max-width: 620px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,0.5); }
.hero .btn-outline:hover { background: #fff; color: var(--navy); }

.hero-stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.2rem; color: var(--gold-2); }
.hero-stats span { font-size: 0.82rem; color: rgba(255,255,255,0.7); }

.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.15);
}

/* ===== Software stack strip ===== */
.stack-strip {
  background: var(--navy-2);
  padding: 22px 0;
  border-bottom: 1px solid rgba(245, 166, 35, 0.12);
}
.stack-strip-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
  justify-content: center;
}
.stack-strip .stack-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin-right: 6px;
}
.stack-strip .stack-item {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.stack-strip .stack-item::after {
  content: "";
}

/* ===== Choice cards (home) ===== */
.choice-section { padding-top: 72px; }
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.choice-card {
  display: block;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.choice-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.choice-media { height: 220px; overflow: hidden; }
.choice-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.choice-card:hover .choice-media img { transform: scale(1.05); }
.choice-body { padding: 32px; }
.choice-body h2 { font-size: 1.6rem; margin: 0 0 12px; color: var(--navy); }
.choice-body p { color: var(--muted); margin: 0 0 20px; }
.choice-cta { font-weight: 700; color: var(--gold); font-family: "Space Grotesk", sans-serif; }

/* ===== SolarCare 360 page extras ===== */
.care-pillars { grid-template-columns: repeat(3, 1fr); }
.care-cta { text-align: center; margin-top: 48px; }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-alt { background: #eef2f8; }
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 16px;
  line-height: 1.25;
}
.section-title.center { text-align: center; }
.section-title.light { color: #fff; }
.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 700px;
}
.section-lead.center { margin: 0 auto 48px; text-align: center; }
.section-lead.light { color: rgba(255,255,255,0.85); }

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 44px;
}
.pillar-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar-icon { font-size: 2.2rem; margin-bottom: 14px; }
.pillar-card h3 { font-size: 1.35rem; margin: 0 0 10px; color: var(--navy); }
.pillar-card p { color: var(--muted); margin: 0 0 18px; }
.pillar-card a { font-weight: 700; color: var(--gold); }

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col.reverse .col-copy { order: 1; }
.two-col.reverse .col-media { order: 2; }
.col-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.media-caption {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 12px;
}
.col-copy h2 { margin-top: 0; }
.col-copy > p { color: var(--muted); font-size: 1.05rem; margin-bottom: 28px; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 32px;
}
.feature h4 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 1.02rem;
  border-left: 3px solid var(--gold);
  padding-left: 10px;
}
.feature p { margin: 0; color: var(--muted); font-size: 0.92rem; padding-left: 13px; }

.service-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.service-list li { display: flex; gap: 16px; align-items: flex-start; }
.li-icon {
  font-size: 1.3rem;
  background: #eef2f8;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-list strong { color: var(--navy); font-size: 1.02rem; }
.service-list p { margin: 2px 0 0; color: var(--muted); font-size: 0.92rem; }

/* Portfolio */
.report-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.report-gallery figure { margin: 0; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); position: relative; }
.report-gallery figure .corner-ticks span::before, .report-gallery figure .corner-ticks span::after { background: rgba(10, 37, 64, 0.35); }
.report-gallery img { width: 100%; height: 340px; object-fit: cover; object-position: top; }
.report-gallery figcaption { padding: 16px 18px; font-size: 0.92rem; font-weight: 600; color: var(--navy); }

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.why-card {
  text-align: center;
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.why-icon { font-size: 2rem; margin-bottom: 12px; }
.why-card h4 { margin: 0 0 8px; color: var(--navy); }
.why-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Contact */
.contact-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0c3a5e 100%);
  text-align: center;
}
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact-note { color: rgba(255,255,255,0.7); margin-top: 20px; font-size: 0.92rem; }

/* Footer */
.site-footer { background: #071a2e; color: rgba(255,255,255,0.75); padding: 56px 0 24px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-inner p { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-top: 10px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact a { font-size: 0.92rem; color: rgba(255,255,255,0.75); }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-2); }
.footer-copy { text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.45); margin: 24px 0 0; }

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  z-index: 200;
  animation: pulse 2.4s infinite;
}
.whatsapp-float .icon { width: 30px; height: 30px; fill: #fff; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
  .two-col.reverse .col-copy, .two-col.reverse .col-media { order: initial; }
  .pillars, .why-grid { grid-template-columns: 1fr 1fr; }
  .report-gallery { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm span { display: none; }
  .hero h1 { font-size: 2.05rem; }
  .feature-grid, .pillars, .why-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
