/* ===========================================================
   JBS Adventures LLP — site styles
   Deep forest + electric mint, leaning premium-EV.
   =========================================================== */

:root {
  --green-900: #07261c;
  --green-800: #0b3d2e;
  --green-700: #114e3a;
  --green-600: #1c6a52;
  --mint: #2ee6a6;
  --mint-soft: #a8f2d4;
  --cream: #f7f4ec;
  --paper: #ffffff;
  --ink: #0a0f0d;
  --ink-2: #2b332f;
  --ash: #5a6b65;
  --line: #e5e1d6;

  --radius: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(7, 38, 28, 0.06);
  --shadow-md: 0 12px 30px rgba(7, 38, 28, 0.10);
  --shadow-lg: 0 30px 60px rgba(7, 38, 28, 0.18);

  --max-w: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Typography */
h1, h2, h3, h4 {
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.15; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.25; }
h4 { font-size: 1.05rem; line-height: 1.3; }
p  { margin: 0 0 1em; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-700);
  margin: 0 0 14px;
}

/* Layout */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(60px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 80px) 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  font-weight: 600; font-size: 0.97rem;
  border-radius: 999px;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--primary { background: var(--mint); color: var(--green-900); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(46, 230, 166, 0.4); }
.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(247, 244, 236, 0.35); }
.btn--ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn--dark { background: var(--green-800); color: #fff; }
.btn--dark:hover { background: var(--green-700); transform: translateY(-1px); }
.btn--link { padding: 0; background: transparent; color: var(--green-800); }
.btn--link:hover { color: var(--green-600); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ==================== NAV ==================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 236, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(11, 61, 46, 0.08);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-family: "Manrope", sans-serif; letter-spacing: -0.01em; }
.nav__brand .mark { width: 38px; height: 38px; }
.nav__brand .name { font-size: 1.05rem; color: var(--green-900); }
.nav__brand .name small { display: block; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.18em; color: var(--green-700); text-transform: uppercase; margin-top: 2px; }
.nav__menu { display: flex; gap: 6px; align-items: center; }
.nav__menu a {
  padding: 10px 16px; border-radius: 999px;
  font-size: 0.92rem; font-weight: 500; color: var(--ink-2);
  transition: background .15s ease, color .15s ease;
}
.nav__menu a:hover, .nav__menu a.active { background: rgba(11, 61, 46, 0.08); color: var(--green-800); }
.nav__cta { margin-left: 8px; }
@media (max-width: 760px) {
  .nav__menu a:not(.nav__cta) { display: none; }
}

/* ==================== HERO ==================== */
.hero {
  background: radial-gradient(1200px 600px at 80% -20%, rgba(46, 230, 166, 0.18), transparent 60%),
              linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 50%, var(--green-700) 100%);
  color: var(--cream);
  position: relative; overflow: hidden;
  padding: clamp(80px, 12vw, 160px) 0 clamp(80px, 12vw, 140px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 90%, rgba(46, 230, 166, 0.12) 0, transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(168, 242, 212, 0.08) 0, transparent 40%);
  pointer-events: none;
}
.hero__grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  position: relative;
}
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; gap: 32px; } }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero .lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 640px; color: rgba(247, 244, 236, 0.9); margin-bottom: 36px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(46, 230, 166, 0.15);
  border: 1px solid rgba(46, 230, 166, 0.4);
  color: var(--mint-soft);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero__eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 0 0 rgba(46, 230, 166, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46,230,166,.6);} 70%{box-shadow:0 0 0 10px rgba(46,230,166,0);}100%{box-shadow:0 0 0 0 rgba(46,230,166,0);} }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px; margin-left: auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4));
}

/* ==================== STATS ==================== */
.stats {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 800px) { .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
.stat { padding: 28px 6px; text-align: left; border-left: 3px solid var(--mint); padding-left: 22px; }
.stat__num { font-family: "Manrope", sans-serif; font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; color: var(--green-800); line-height: 1; letter-spacing: -0.02em; }
.stat__label { color: var(--ash); font-size: 0.92rem; margin-top: 8px; }

/* ==================== GENERIC BLOCKS ==================== */
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--green {
  background: linear-gradient(160deg, var(--green-900), var(--green-800));
  color: var(--cream);
}
.section--green h1, .section--green h2, .section--green h3 { color: #fff; }
.section--green .eyebrow { color: var(--mint); }

/* split header */
.split {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: end;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 24px; } }
.split p { font-size: 1.08rem; color: var(--ink-2); max-width: 56ch; }

/* feature grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(11,61,46,0.25); }
.card__icon { width: 44px; height: 44px; color: var(--green-700); margin-bottom: 14px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ash); margin: 0; font-size: 0.96rem; }

.card--dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--cream);
}
.card--dark h3 { color: #fff; }
.card--dark p { color: rgba(247, 244, 236, 0.7); }
.card--dark .card__icon { color: var(--mint); }

/* platforms strip */
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
@media (max-width: 700px) { .platforms { grid-template-columns: repeat(2, 1fr); } }
.platform {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.platform .tag { display: inline-block; padding: 4px 10px; background: var(--mint-soft); color: var(--green-900); border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.platform h3 { margin-bottom: 6px; font-size: 1.2rem; }
.platform p { font-size: 0.92rem; color: var(--ash); margin: 0; }

/* credentials */
.creds {
  background: var(--green-900); color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 56px);
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: center;
}
@media (max-width: 900px) { .creds { grid-template-columns: 1fr; } }
.creds h2 { color: #fff; margin: 0; }
.creds .eyebrow { color: var(--mint); }
.creds__list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .creds__list { grid-template-columns: 1fr; } }
.cred-item {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.cred-item .label { color: var(--mint); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.cred-item .value { font-size: 1rem; font-weight: 600; color: #fff; line-height: 1.35; }
.cred-item .ref { font-size: 0.82rem; color: rgba(247,244,236,0.65); margin-top: 4px; }

/* CTA band */
.cta-band {
  background: linear-gradient(110deg, var(--mint) 0%, #6df0c2 100%);
  color: var(--green-900);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
}
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; } }
.cta-band h2 { margin: 0; color: var(--green-900); }
.cta-band p { color: rgba(7, 38, 28, 0.78); margin-top: 10px; }
.cta-band__buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 900px) { .cta-band__buttons { justify-content: flex-start; } }

/* ==================== ABOUT / CONTENT ==================== */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; color: var(--ink-2); }
.prose strong { color: var(--green-900); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-card h3 { margin-bottom: 8px; font-size: 1rem; color: var(--ash); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; }
.contact-card .big { font-family: "Manrope", sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--green-900); }
.contact-card .big a { color: inherit; }
.contact-card .big a:hover { color: var(--green-600); }
.contact-card p { color: var(--ink-2); margin-bottom: 0; }

.compliance-note {
  background: rgba(46, 230, 166, 0.10);
  border: 1px solid rgba(46, 230, 166, 0.4);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-top: 28px;
  font-size: 0.95rem;
  color: var(--green-900);
}

/* ==================== FOOTER ==================== */
.foot {
  background: var(--green-900); color: var(--cream);
  padding: 70px 0 30px;
}
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot__grid { grid-template-columns: 1fr; } }
.foot h4 { color: var(--mint); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; }
.foot a { color: rgba(247,244,236,0.78); display: inline-block; padding: 4px 0; transition: color .15s ease; }
.foot a:hover { color: var(--mint); }
.foot__brand .name { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.1rem; color: #fff; margin-bottom: 6px; }
.foot__brand p { color: rgba(247,244,236,0.65); font-size: 0.92rem; }
.foot__bottom {
  margin-top: 60px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 0.85rem; color: rgba(247,244,236,0.55);
}

/* utility */
.muted { color: var(--ash); }
.center { text-align: center; }
.mt-md { margin-top: 28px; }
.mt-lg { margin-top: 48px; }
