:root {
  --bg-body: #020617;
  --bg-card: #020617;
  --bg-card-soft: #0b1220;
  --bg-accent: #0f172a;
  --text-main: #f9fafb;
  --text-soft: #cbd5f5;
  --text-muted: #9ca3af;
  --accent: #38bdf8;
  --accent-2: #a855f7;
  --border-soft: rgba(148,163,184,0.2);
  --radius-xl: 20px;
  --shadow-soft: 0 18px 45px rgba(15,23,42,0.7);
  --max-width: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #111827, #020617 55%, #000 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid rgba(56,189,248,0.9);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  display: block;
}

main { min-height: 100vh; }

.page-wrap {
  width: 100%;
  min-height: 100vh;
}

.section {
  padding: 80px 20px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (max-width: 768px) {
  .section { padding: 56px 18px; }
}

/* HEADER */

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(2,6,23,0.95), rgba(2,6,23,0.8), transparent);
  border-bottom: 1px solid rgba(148,163,184,0.2);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-wrap img { height: 34px; }

.badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
  color: var(--text-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
  color: var(--text-soft);
}

nav a {
  position: relative;
  padding-bottom: 4px;
  opacity: .9;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .2s ease;
}

nav a:hover::after { width: 100%; }
nav a.active { color: #fff; opacity: 1; }
nav a.active::after { width: 100%; }

.nav-cta {
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  background: rgba(15,23,42,0.85);
  color: #e5e7eb;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-cta span { font-size: 16px; }

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-soft);
}

.lang-switch a {
  padding-bottom: 2px;
  opacity: .7;
}

.lang-switch a.lang-active {
  opacity: 1;
  color: #fff;
  font-weight: 500;
}

.mobile-menu-toggle {
  display: none;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  background: rgba(15,23,42,0.9);
  padding: 6px 10px;
  font-size: 12px;
  color: var(--text-soft);
  cursor: pointer;
  touch-action: manipulation;
}

/* Mobile nav */

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 8px 20px 14px;
  border-top: 1px solid rgba(148,163,184,0.3);
  background: rgba(2,6,23,0.96);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 39;
}

.mobile-nav a {
  font-size: 13px;
  color: var(--text-soft);
}

.mobile-nav .mobile-lang {
  margin-top: 4px;
  font-size: 12px;
  opacity: .8;
}

.mobile-nav .mobile-lang .active { color: #fff; font-weight: 500; }

.mobile-nav.show { display: flex; }

@media (max-width: 880px) {
  nav { display: none; }
  .nav-cta { display: none; }
  .lang-switch { display: none; }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
}

/* HERO */

.hero {
  position: relative;
  min-height: 85vh;
  padding: 120px 20px 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://res.cloudinary.com/dnqa9g3kd/image/upload/v1764843743/Hero_landing_pjhdnm.webp");
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  transform: scale(1.02);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(15,23,42,0.82), rgba(2,6,23,0.95) 45%, rgba(0,0,0,0.98));
  z-index: -1;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr);
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 104px;
    padding-bottom: 72px;
    min-height: 75vh;
  }
  .hero-inner { grid-template-columns: 1fr; }
}

/* Hero compact (support/faq) */
.hero.compact {
  min-height: 52vh;
  padding: 120px 20px 58px;
}
.hero.compact .hero-inner { grid-template-columns: 1fr; }

.hero-main-eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.hero-title {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(32px,5vw,54px);
  letter-spacing: 0.06em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 400;
  font-size: 20px;
  margin: 0 0 18px;
  color: #e5e7eb;
}

.hero-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 26px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.btn {
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: transform .1s ease, box-shadow .1s ease, background .1s ease, border .1s ease;
  font-family: "Inter", system-ui, sans-serif;
}

.btn-primary {
  background: #fff;
  color: #020617;
  box-shadow: 0 14px 40px rgba(15,23,42,0.9);
  border: 1px solid rgba(248,250,252,0.15);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 55px rgba(15,23,42,1);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(148,163,184,0.8);
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.btn-secondary:hover {
  background: rgba(15,23,42,0.85);
  border-color: rgba(226,232,240,0.9);
}

.hero-sdgs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
}

.hero-sdgs img {
  height: 32px;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(15,23,42,0.7);
}

.hero-sdgs-text { white-space: nowrap; }

@media (max-width: 520px) {
  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-sdgs { gap: 8px; }
  .hero-sdgs-text { white-space: normal; }
}

/* Hero right panel */

.hero-panel {
  background: radial-gradient(circle at top left, rgba(15,23,42,0.96), rgba(15,23,42,0.98));
  border-radius: 26px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(148,163,184,0.4);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at top left, rgba(148,163,184,0.08), transparent 55%),
    linear-gradient(135deg, rgba(15,23,42,0.9), rgba(15,23,42,0.96));
  mix-blend-mode: screen;
  opacity: .35;
  pointer-events: none;
}

.hero-panel > * { position: relative; z-index: 1; }

.hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 6px;
  gap: 10px;
}

.hero-panel-tag {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.4);
  white-space: nowrap;
}

.hero-panel-title {
  font-size: 14px;
  font-weight: 500;
  color: #e5e7eb;
  margin-bottom: 4px;
}

.hero-panel p {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
}

.hero-panel-metric-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.hero-metric {
  flex: 1;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,0.35);
  padding: 10px 12px;
  font-size: 11px;
  color: var(--text-soft);
  background: radial-gradient(circle at top left, rgba(15,23,42,0.95), rgba(15,23,42,0.85));
}

.hero-metric strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 2px;
}

.hero-panel-image {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.5);
}

.hero-panel-image img {
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.hero-panel-footnote {
  font-size: 11px;
  color: var(--text-muted);
}

/* GENERIC CONTENT */

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 26px;
  margin: 0 0 10px;
}

.section-lead {
  font-size: 14px;
  color: var(--text-soft);
  max-width: 640px;
  margin-bottom: 26px;
  line-height: 1.7;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr);
  gap: 30px;
}

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: radial-gradient(circle at top left, rgba(15,23,42,0.96), rgba(15,23,42,0.98));
  border-radius: var(--radius-xl);
  padding: 20px 22px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.card-soft {
  background: rgba(15,23,42,0.94);
  box-shadow: 0 14px 45px rgba(15,23,42,0.9);
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-body {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(148,163,184,0.55);
  color: var(--text-soft);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--text-soft);
}

.list-check li {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.list-check li span:first-child {
  color: var(--accent);
  margin-top: 2px;
}

/* BENEFITS */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin-top: 18px;
}

@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

.benefit-card {
  background: rgba(15,23,42,0.95);
  border-radius: 18px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(148,163,184,0.4);
  box-shadow: 0 14px 40px rgba(15,23,42,0.9);
}

.benefit-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.benefit-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.benefit-text {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
}

/* SDGs */

.sdg-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  align-items: center;
}

.sdg-row img {
  height: 58px;
  box-shadow: 0 10px 35px rgba(15,23,42,0.9);
  border-radius: 6px;
}

.sdg-caption {
  font-size: 13px;
  color: var(--text-soft);
  max-width: 380px;
}

/* HOW IT WORKS */

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
  margin-top: 14px;
}

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
}

.step {
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(148,163,184,0.45);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 16px 42px rgba(15,23,42,0.9);
}

.step-number {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.step-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-body {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
}

/* KPIs */

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  margin-top: 18px;
}

@media (max-width: 900px) {
  .kpi-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 520px) {
  .kpi-grid { grid-template-columns: 1fr 1fr; }
}

.kpi-card {
  background: rgba(15,23,42,0.95);
  border-radius: 18px;
  padding: 16px 14px 13px;
  border: 1px solid rgba(148,163,184,0.45);
  text-align: left;
  box-shadow: 0 16px 40px rgba(15,23,42,0.9);
}

.kpi-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 2px;
}

.kpi-label {
  font-size: 12px;
  color: var(--text-soft);
}

.kpi-tagline {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* GALLERY */

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr;
  gap: 16px;
}

.gallery-grid img {
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(148,163,184,0.5);
  box-shadow: 0 18px 50px rgba(15,23,42,0.95);
}

.gallery-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 880px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { max-height: 260px; }
}

/* CTA */

.cta-section { text-align: center; }

.cta-section .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,0.9fr);
  gap: 30px;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

form {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

label {
  font-size: 12px;
  color: var(--text-soft);
}

input,
textarea {
  width: 100%;
  padding: 10px 11px;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,0.5);
  background: rgba(15,23,42,0.9);
  color: var(--text-main);
  font-size: 13px;
  font-family: "Inter", system-ui, sans-serif;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
  font-size: 12px;
}

.form-helper {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* FAQ */

details.faq-item {
  border-top: 1px solid rgba(148,163,184,0.25);
  padding: 12px 0;
}

details.faq-item:first-of-type {
  border-top: none;
  padding-top: 0;
}

details.faq-item summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #e5e7eb;
  font-size: 13px;
}

details.faq-item summary::-webkit-details-marker { display: none; }

.faq-arrow {
  opacity: 0.8;
  transition: transform .2s ease, opacity .2s ease;
}

details[open] .faq-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.faq-answer {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.7;
}

.sticky-box { align-self: start; }

@media (min-width: 900px) {
  .sticky-box {
    position: sticky;
    top: 92px;
  }
}

/* FOOTER */

footer {
  border-top: 1px solid rgba(148,163,184,0.35);
  background: radial-gradient(circle at top, #020617, #020617 60%, #000 100%);
  padding: 22px 20px 24px;
  font-size: 11px;
  color: var(--text-muted);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.footer-left,
.footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.footer-logo { height: 20px; }

.footer-links a { margin-right: 10px; }

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Reveal animations */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s ease, transform .4s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; transform: none; }
  .btn, nav a::after { transition: none; }
}

/* LOGOS */

.logo-institutional {
  display: block;
  filter: brightness(1);
}

.logo-fractured {
  width: 200px;
  max-width: 100%;
}

.logo-exodus {
  height: 170px;
  max-width: 100%;
}

/* COLUMN HEIGHT FIXES */

.grid-2,
.contact-grid {
  align-items: stretch;
}

.grid-2 > div,
.contact-grid > div {
  display: flex;
  flex-direction: column;
}

.grid-2 > div > .card,
.grid-2 > div > .card-soft,
.contact-grid > div > .card,
.contact-grid > div > .card-soft {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

/* LOGO ROW */

.logo-row,
.logo-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.logo-institutional { margin-bottom: 0; }

.logo-fractured,
.logo-exodus {
  max-height: 90px;
  width: auto;
  object-fit: contain;
}

/* BACKGROUND VARIATIONS */

#benefits { background: #020617; }
#assurance { background: #050b18; }
#sdgs { background: radial-gradient(circle at top, #050816, #020617 60%); }
#how-it-works { background: #020617; }
#kpis { background: radial-gradient(circle at bottom, #050816, #020617 55%); }
#gallery { background: #050816; }
#cta,
#contact { background: #020617; }

@media (max-width: 900px) {
  .hero-panel-image img { height: 160px; }
  .gallery-grid img { max-height: 220px; }
  .logo-fractured,
  .logo-exodus { max-height: 70px; }
  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}
