/* ============================================================
   CLEAN ENERGY COLUMBUS — Design System
   Plus Jakarta Sans · Navy #003087 · Green #78BE20
   Mobile-first, accessible, Netlify-ready
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --navy:        #003087;
  --navy-deep:   #001f5c;
  --navy-mid:    #00256e;
  --green:       #78BE20;
  --green-light: #B8E05A;
  --green-tint:  #EEF7DC;
  --white:       #ffffff;
  --gray-50:     #F4F6F9;
  --gray-100:    #E8ECF2;
  --gray-300:    #C2CCD9;
  --gray-500:    #5F7186;
  --gray-700:    #3D4F62;
  --ink:         #0B1826;
  --sans:        'Plus Jakarta Sans', sans-serif;
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-pill: 999px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:   0 4px 16px rgba(0,48,135,.10), 0 1px 4px rgba(0,0,0,.06);
  --shadow-lg:   0 12px 40px rgba(0,48,135,.14), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl:   0 24px 64px rgba(0,48,135,.18), 0 8px 24px rgba(0,0,0,.08);
  --wrap:        1200px;
  --gutter:      clamp(20px, 5vw, 64px);
  --header-h:    64px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--sans); cursor: pointer; border: none; background: none; }

/* ── Layout ─────────────────────────────────────────────── */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section-pad { padding: 64px 0; }
.section-pad-sm { padding: 48px 0; }
@media (min-width: 768px) { .section-pad { padding: 96px 0; } .section-pad-sm { padding: 64px 0; } }

/* ── Typography — minimum 16px body, minimum 14px secondary ── */
h1, h2, h3, h4, h5 {
  font-family: var(--sans); font-weight: 800;
  line-height: 1.08; letter-spacing: -0.03em; color: var(--ink);
}
h1 { font-size: clamp(36px, 8vw, 80px); }
h2 { font-size: clamp(28px, 6vw, 56px); }
h3 { font-size: clamp(20px, 4vw, 32px); }
h4 { font-size: clamp(17px, 3vw, 20px); font-weight: 700; }
h5 { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

p  { color: var(--gray-700); line-height: 1.7; font-size: 16px; }
.lede { font-size: clamp(17px, 2.5vw, 21px); line-height: 1.55; color: var(--gray-700); }
small, .text-sm { font-size: 14px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #3F6B0F; margin-bottom: 12px;
}
.eyebrow.white { color: rgba(255,255,255,.75); }
.eyebrow.navy  { color: var(--navy); }
.accent-green { color: #4D7D13; }
.accent-light { color: var(--green-light); }

/* ── Buttons — min 48px height for touch ─────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-pill);
  font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: 0.01em;
  border: none; cursor: pointer; white-space: nowrap; min-height: 52px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }

.btn-primary   { background: #1E72CC; color: #fff; box-shadow: 0 4px 16px rgba(0,48,135,.25); }
.btn-primary:hover { background: var(--navy-deep); }
.btn-green     { background: var(--green); color: #143000; box-shadow: 0 4px 16px rgba(120,190,32,.3); }
.btn-green:hover { background: #6aab1a; }
.btn-outline   { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.8); }
.btn-text { background: none; border: none; padding: 0; color: var(--navy); font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.btn-text::after { content: '→'; transition: transform .2s; }
.btn-text:hover::after { transform: translateX(4px); }
.btn-sm  { padding: 11px 22px; font-size: 14px; min-height: 44px; }
.btn-lg  { padding: 17px 36px; font-size: 17px; min-height: 56px; }
@media (max-width: 480px) { .btn-lg { width: 100%; } }

/* ── Utility bar ─────────────────────────────────────────── */
.util-bar { background: var(--navy-deep); padding: 10px 0; font-size: 14px; font-weight: 600; }
.util-bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.util-bar .live { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); }
.util-bar .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px rgba(120,190,32,.3); animation: pulse 2.4s infinite; flex-shrink: 0; }
.util-bar .right { display: flex; gap: 20px; align-items: center; }
.util-bar .right a { color: rgba(255,255,255,.6); transition: color .2s; min-height: 44px; display: flex; align-items: center; font-size: 14px; }
.util-bar .right a:hover { color: #fff; }
@media (max-width: 560px) { .util-bar .live-text { display: none; } .util-bar .right { gap: 16px; } }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(120,190,32,.3); }
  50%       { box-shadow: 0 0 0 6px rgba(120,190,32,.0); }
}

/* ── Site header ─────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #D6E8F7;
  border-bottom: 1px solid #B8D4F0;
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 16px rgba(0,48,135,.12); }
.site-header > .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
@media (max-width: 400px) { .brand img { height: 42px; } }

.nav-links { display: flex; gap: 2px; flex: 1; align-items: center; }
.nav-item  { position: relative; }
.nav-link  {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 14px; min-height: 48px;
  font-size: 15px; font-weight: 600; color: var(--navy);
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--navy); background: rgba(0,48,135,.08); }

.nav-cta { margin-left: auto; flex-shrink: 0; }

.mobile-menu-btn {
  display: none; padding: 10px; color: var(--navy);
  margin-left: auto; border-radius: var(--radius-sm);
  transition: background .2s; -webkit-tap-highlight-color: transparent;
  min-width: 48px; min-height: 48px;
  align-items: center; justify-content: center;
  position: relative; z-index: 1002;
}
.mobile-menu-btn:hover { background: rgba(0,48,135,.08); }

/* ── Mobile nav drawer ───────────────────────────────────── */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 1001; flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px); animation: fadeIn .25s ease;
}
.mobile-nav-drawer {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(340px, 90vw); background: var(--navy);
  display: flex; flex-direction: column;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  animation: slideIn .3s ease; box-shadow: -8px 0 40px rgba(0,0,0,.3);
}
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.1); flex-shrink: 0;
}
.mobile-nav-header img { height: 36px; width: auto; }
.mobile-nav-close {
  padding: 8px; color: rgba(255,255,255,.7); border-radius: var(--radius-sm);
  transition: color .2s, background .2s; min-width: 48px; min-height: 48px;
  display: flex; align-items: center; justify-content: center;
}
.mobile-nav-close:hover { color: #fff; background: rgba(255,255,255,.1); }

.mobile-nav-body { padding: 16px; flex: 1; }
.mobile-nav-link {
  display: flex; align-items: center; padding: 14px 16px;
  font-size: 17px; font-weight: 600; color: rgba(255,255,255,.85);
  border-radius: var(--radius-md); min-height: 52px;
  transition: background .15s, color .15s;
}
.mobile-nav-link:hover, .mobile-nav-link:active { background: rgba(255,255,255,.1); color: #fff; }

.mobile-nav-footer {
  padding: 20px; border-top: 1px solid rgba(255,255,255,.1); flex-shrink: 0;
}
.mobile-nav-footer .btn { width: 100%; margin-bottom: 12px; }
.mobile-nav-footer .contact-links { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.mobile-nav-footer .contact-links a {
  font-size: 15px; font-weight: 600; color: rgba(255,255,255,.5);
  display: flex; align-items: center; gap: 10px; min-height: 44px;
}
.mobile-nav-footer .contact-links a:hover { color: rgba(255,255,255,.9); }

@media (max-width: 960px) {
  .nav-links, .nav-cta, .lang-switch { display: none; }
  .mobile-menu-btn { display: flex; }
}
@media (min-width: 961px) { .mobile-nav { display: none !important; } }

/* ── Footer newsletter strip ─────────────────────────────── */
.footer-newsletter {
  background: rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 40px 0;
}
.footer-newsletter .inner {
  display: grid; grid-template-columns: 1fr;
  gap: 24px; align-items: center;
}
@media (min-width: 720px) {
  .footer-newsletter .inner { grid-template-columns: 1fr auto; gap: 40px; }
}
.footer-newsletter h4 {
  font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px; letter-spacing: -.01em;
}
.footer-newsletter p { font-size: 15px; color: rgba(255,255,255,.6); margin: 0; }
.footer-newsletter-form {
  display: flex; gap: 10px; flex-direction: column;
}
@media (min-width: 480px) {
  .footer-newsletter-form { flex-direction: row; min-width: 380px; }
}
.footer-newsletter-form input {
  flex: 1; padding: 14px 20px; border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1);
  color: #fff; font-family: var(--sans); font-size: 16px; outline: none;
  transition: border-color .2s, background .2s; min-height: 52px;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.footer-newsletter-form input:focus { border-color: var(--green); background: rgba(255,255,255,.15); }

/* ── Footer main grid ────────────────────────────────────── */
.site-footer { background: var(--navy-deep); padding-top: 0; color: rgba(255,255,255,.65); }
.footer-grid-wrap { padding: 56px 0 48px; }
.site-footer .grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 48px;
}
@media (min-width: 640px) { .site-footer .grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (min-width: 900px) { .site-footer .grid { grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 56px; } }
.footer-col { display: none; }
@media (min-width: 640px) { .footer-col { display: block; } }

.footer-brand { margin-bottom: 16px; }
.footer-brand img { height: 60px; width: auto; }
.footer-tagline { font-size: 15px; line-height: 1.7; margin-bottom: 24px; color: rgba(255,255,255,.6); }

.footer-contact a {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; color: rgba(255,255,255,.6);
  margin-bottom: 10px; transition: color .2s; min-height: 44px;
}
.footer-contact a:hover { color: #fff; }
.footer-contact svg { flex-shrink: 0; }

.footer-col h5 {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 4px; }
.footer-col ul li a {
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,.65);
  transition: color .2s; display: block; min-height: 40px;
  line-height: 40px;
}
.footer-col ul li a:hover { color: #fff; }

/* ── Footer partners strip ───────────────────────────────── */
.footer-partners {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
  gap: 24px; padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-partners-left { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-partners-label {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
  white-space: nowrap;
}
.footer-partner-logo { display: flex; align-items: center; opacity: .7; transition: opacity .2s; }
.footer-partner-logo:hover { opacity: 1; }
.footer-partner-logo img { height: 48px; width: auto; max-width: 200px; object-fit: contain; }

.footer-trebel { display: flex; align-items: center; gap: 14px; }
.footer-trebel-label {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
  white-space: nowrap;
}
.footer-trebel-logo { display: flex; align-items: center; opacity: .75; transition: opacity .2s; }
.footer-trebel-logo:hover { opacity: 1; }
.footer-trebel-logo img { height: 44px; width: auto; max-width: 180px; object-fit: contain; }

/* ── Footer bottom bar ───────────────────────────────────── */
.footer-bottom {
  display: flex; justify-content: center; align-items: center;
  padding: 22px 0; font-size: 14px; color: rgba(255,255,255,.6);
  text-align: center;
}

/* ── Page hero ───────────────────────────────────────────── */
.page-hero { background: var(--navy); padding: 52px 0 60px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 80% 50%, rgba(120,190,32,.12) 0%, transparent 60%); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .crumbs {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,.45);
  margin-bottom: 22px; flex-wrap: wrap;
}
.page-hero .crumbs a { color: rgba(255,255,255,.45); transition: color .2s; }
.page-hero .crumbs a:hover { color: rgba(255,255,255,.85); }
.page-hero .crumbs span { color: rgba(255,255,255,.25); }
.page-hero h1 { color: #fff; }
.page-hero h1 em { font-style: normal; color: var(--green-light); }
.page-hero .lede { color: rgba(255,255,255,.72); margin-top: 18px; max-width: 600px; font-size: clamp(17px, 2vw, 20px); }
@media (min-width: 768px) { .page-hero { padding: 68px 0 80px; } }

/* ── Section headers ─────────────────────────────────────── */
.sec-head { margin-bottom: 44px; }
.sec-head.center { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: 44px; }
.sec-head p { margin-top: 16px; font-size: clamp(16px, 2vw, 18px); }
@media (min-width: 768px) { .sec-head { margin-bottom: 56px; } .sec-head.center { margin-bottom: 56px; } }

.line-accent { width: 40px; height: 4px; background: var(--green); border-radius: 2px; margin-bottom: 16px; }
.line-accent.center { margin-inline: auto; }

/* ── Stat strip ──────────────────────────────────────────── */
.stat-strip { background: var(--navy); padding: 52px 0; }
.stat-strip .row { display: grid; grid-template-columns: 1fr 1fr; }
@media (min-width: 800px) { .stat-strip .row { grid-template-columns: repeat(4, 1fr); } }

.stat-item { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,.1); text-align: center; }
.stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
@media (min-width: 800px) {
  .stat-item { padding: 0 32px; border-bottom: none; border-right: 1px solid rgba(255,255,255,.1); }
  .stat-item:last-child { border-right: none; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
}
.stat-item .num { font-size: clamp(36px, 6vw, 60px); font-weight: 800; color: var(--green-light); letter-spacing: -0.04em; line-height: 1; }
.stat-item .num sup { font-size: 0.45em; vertical-align: super; color: var(--green); }
.stat-item .label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.55); margin-top: 10px; text-transform: uppercase; letter-spacing: 0.07em; }

/* ── Cards ───────────────────────────────────────────────── */
.card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-100); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) { .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); } }

/* ── Tags ────────────────────────────────────────────────── */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.tag-green  { background: var(--green-tint); color: #2a5a00; }
.tag-navy   { background: rgba(0,48,135,.1); color: var(--navy); }
.tag-active { background: var(--green-tint); color: #2a5a00; }
.tag-next   { background: rgba(0,48,135,.08); color: var(--navy); }
.tag-past   { background: var(--gray-50); color: var(--gray-500); }

/* ── Divider ─────────────────────────────────────────────── */
.divider { height: 1px; background: var(--gray-100); }

/* ── Scroll reveal ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s 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; }

/* ── Counter ─────────────────────────────────────────────── */
.count-up { display: inline-block; }

/* ── Accessibility: reduce motion ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── Screen reader only ──────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Language switcher ────────────────────────────── */
.lang-switch { position: relative; flex-shrink: 0; margin-left: auto; }
.lang-switch + .nav-cta { margin-left: 12px; }
.lang-current {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; min-height: 44px;
  font-size: 15px; font-weight: 600; color: var(--navy);
  border-radius: var(--radius-sm); background: transparent; cursor: pointer;
  transition: background .2s;
}
.lang-current:hover, .lang-switch:focus-within .lang-current { background: rgba(0,48,135,.08); }
.lang-flag { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.1); flex-shrink: 0; }
.lang-caret { width: 14px; height: 14px; transition: transform .2s; color: var(--navy); }
.lang-switch:focus-within .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: #fff; border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  padding: 6px; min-width: 168px; display: none; z-index: 1100;
}
.lang-switch:hover .lang-menu, .lang-switch:focus-within .lang-menu { display: block; }
.lang-option {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 6px;
  font-size: 14px; font-weight: 600; color: var(--navy); white-space: nowrap;
}
.lang-option:hover { background: var(--gray-50); }

/* Mobile language switcher */
.mobile-lang { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.mobile-lang a {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; color: #fff;
}
.mobile-lang a.current { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }

/* ── Accessibility: visible focus indicator (WCAG 2.4.7) ── */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible,
.mmarker:focus-visible {
  outline: 3px solid #1E72CC;
  outline-offset: 2px;
  border-radius: 3px;
}
.site-footer a:focus-visible, .mobile-nav a:focus-visible,
.mobile-nav button:focus-visible, .hero a:focus-visible,
.page-hero a:focus-visible { outline-color: #fff; }

/* ── Accessibility: skip link (WCAG 2.4.1) ── */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--navy); color: #fff; padding: 12px 20px;
  border-radius: var(--radius-sm); font-weight: 700; font-size: 15px;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; outline: 3px solid #fff; outline-offset: 2px; }
