/* ============================================================
   AUREKA RENEWABLES — Design System
   Palette: Slate navy + Solar teal + Warm amber accent
   Type: Plus Jakarta Sans (body) + Fraunces (display)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;0,9..144,700;1,9..144,300&display=swap');

/* ── TOKENS ── */
:root {
  --navy:       #0D1B2A;
  --navy-mid:   #1A2F45;
  --teal:       #0E7C6B;
  --teal-light: #12A98F;
  --teal-pale:  #E6F5F2;
  --amber:      #F0A500;
  --amber-pale: #FFF8E6;
  --slate:      #4A5568;
  --slate-lt:   #718096;
  --border:     #E2E8F0;
  --bg:         #F8FAFB;
  --white:      #FFFFFF;

  --radius-sm:  8px;
  --radius:     14px;
  --radius-lg:  24px;
  --shadow-sm:  0 1px 4px rgba(13,27,42,.06);
  --shadow:     0 4px 20px rgba(13,27,42,.09);
  --shadow-lg:  0 16px 48px rgba(13,27,42,.14);

  --font-body:  'Plus Jakarta Sans', sans-serif;
  --font-disp:  'Fraunces', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--navy); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── TOPBAR ── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  font-size: 13px;
  padding: 9px 40px;
  display: flex; justify-content: space-between; align-items: center;
}
.topbar-left { display: flex; gap: 24px; }
.topbar a { color: rgba(255,255,255,.65); transition: color .2s; }
.topbar a:hover { color: var(--amber); }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-right { display: flex; gap: 14px; }
.t-social {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,.6);
  transition: background .2s, color .2s;
}
.t-social:hover { background: var(--teal); color: var(--white); }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-disp);
  font-size: 20px; font-weight: 700;
  color: var(--navy);
}
.nav-logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--amber));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.nav-logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 10px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--slate-lt); margin-top: 1px;
}
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 600; color: var(--slate);
  padding: 8px 14px; border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); background: var(--teal-pale); }
.nav-links .dropdown { position: relative; }
.nav-links .dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  min-width: 180px; padding: 8px;
  opacity: 0; pointer-events: none;
  transform: translateY(6px);
  transition: all .2s;
}
.nav-links .dropdown:hover .dropdown-menu { opacity: 1; pointer-events: all; transform: translateY(0); }
.nav-links .dropdown-menu a {
  display: block; padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
}
.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  transition: background .2s, transform .2s !important;
}
.nav-cta:hover { background: var(--teal-light) !important; transform: translateY(-1px) !important; }

/* ── HAMBURGER (mobile) ── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .3s; }

/* ── LAYOUT UTILS ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-bg { background: var(--bg); }
.section-navy { background: var(--navy); }
.section-teal { background: var(--teal); }

/* ── TYPOGRAPHY ── */
.eyebrow {
  font-size: 11px; font-weight: 800;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--teal); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: ''; display: block;
  width: 28px; height: 2px; background: var(--teal);
  flex-shrink: 0;
}
.display-xl { font-family: var(--font-disp); font-size: clamp(38px, 5.5vw, 68px); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; }
.display-lg { font-family: var(--font-disp); font-size: clamp(30px, 4vw, 50px); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }
.display-md { font-family: var(--font-disp); font-size: clamp(22px, 3vw, 34px); font-weight: 600; line-height: 1.2; }
.lead { font-size: 18px; line-height: 1.75; color: var(--slate); }
.body-copy { font-size: 15px; line-height: 1.8; color: var(--slate); }
.text-white { color: var(--white); }
.text-white-70 { color: rgba(255,255,255,.7); }
.text-teal { color: var(--teal-light); }
.text-amber { color: var(--amber); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  padding: 13px 28px; border-radius: 50px;
  border: none; cursor: pointer;
  transition: all .25s; text-decoration: none;
}
.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 4px 20px rgba(14,124,107,.35); }
.btn-primary:hover { background: var(--teal-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(14,124,107,.4); }
.btn-amber { background: var(--amber); color: var(--navy); box-shadow: 0 4px 20px rgba(240,165,0,.35); }
.btn-amber:hover { background: #FFB800; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(240,165,0,.4); }
.btn-outline { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 9px 20px; font-size: 13px; }

/* ── CARDS ── */
.card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: box-shadow .3s, transform .3s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-pad { padding: 32px; }

/* ── PILL BADGE ── */
.badge {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 50px;
}
.badge-teal { background: var(--teal-pale); color: var(--teal); }
.badge-amber { background: var(--amber-pale); color: #A06B00; }
.badge-navy { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 80px 0 72px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; right: -120px; top: -120px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,124,107,.25) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 2; max-width: 640px; }
.page-hero .eyebrow { color: var(--amber); }
.page-hero .eyebrow::before { background: var(--amber); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255,255,255,.5); margin-top: 20px; }
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { opacity: .4; }

/* ── STATS STRIP ── */
.stats-strip { background: var(--white); border-bottom: 1px solid var(--border); padding: 32px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 8px 0; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-disp); font-size: 38px; font-weight: 600; color: var(--navy); line-height: 1; }
.stat-num sup { font-size: 18px; }
.stat-lbl { font-size: 13px; color: var(--slate-lt); margin-top: 4px; font-weight: 500; }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding: 72px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.6fr; gap: 60px; margin-bottom: 60px; }
.footer-brand-desc { font-size: 14px; line-height: 1.8; margin: 16px 0 24px; }
.footer-social { display: flex; gap: 8px; }
.fs-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,.6);
  transition: background .2s, color .2s;
}
.fs-btn:hover { background: var(--teal); color: var(--white); }
.footer-col h5 { color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: .5px; margin-bottom: 18px; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col ul li a:hover { color: var(--amber); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 14px; line-height: 1.5; }
.fc-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.subscribe-row { display: flex; gap: 8px; margin-top: 14px; }
.subscribe-row input {
  flex: 1; padding: 10px 14px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  color: var(--white); font-family: var(--font-body); font-size: 13px; outline: none;
  transition: border .2s;
}
.subscribe-row input::placeholder { color: rgba(255,255,255,.3); }
.subscribe-row input:focus { border-color: var(--teal); }
.subscribe-row button {
  padding: 10px 18px; background: var(--teal);
  color: var(--white); border: none; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 13px; cursor: pointer;
  transition: background .2s;
}
.subscribe-row button:hover { background: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,.35);
}
.footer-bottom a { color: var(--amber); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.35); transition: color .2s; }
.footer-bottom-links a:hover { color: var(--white); }

/* ── FORMS ── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14px; color: var(--navy);
  background: var(--white); outline: none; transition: border .2s, box-shadow .2s;
}
.form-control:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,124,107,.12); }
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.btn-submit { width: 100%; padding: 14px; font-size: 15px; font-weight: 700; background: var(--teal); color: var(--white); border: none; border-radius: var(--radius-sm); cursor: pointer; font-family: var(--font-body); transition: background .2s; }
.btn-submit:hover { background: var(--teal-light); }

/* ── GRID HELPERS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.gap-lg { gap: 64px; }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item:nth-child(2) { border-right: none; }
}
@media (max-width: 768px) {
  .topbar { display: none; }
  .navbar { padding: 0 20px; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); flex-direction: column; padding: 16px; gap: 4px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
