/* ─────────────────────────────────────────────────────────────
   LUSELIO — Flexible Energy Infrastructure Platform
   v2: image-forward, compressed text, living page
───────────────────────────────────────────────────────────── */

/* ── VARIABLES ──────────────────────────────────────────────── */
:root {
  --bg-darkest:  #060D18;
  --bg-dark:     #0B1220;
  --bg-dark-2:   #111827;
  --bg-mid:      #1E293B;
  --bg-slate:    #243447;

  --teal:        #2A9D8F;
  --teal-dark:   #1F8A70;
  --teal-bg:     rgba(42, 157, 143, 0.08);
  --teal-border: rgba(42, 157, 143, 0.3);

  --accent:      #B6E36B;
  --accent-hover:#c8f07a;
  --accent-dark: #0B1220;

  --text-1: #F8FAFC;
  --text-2: #CBD5E1;
  --text-3: #94A3B8;
  --text-4: #64748B;

  --border:       rgba(51, 65, 85, 0.8);
  --border-light: rgba(51, 65, 85, 0.4);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1200px;
  --pad-x: clamp(20px, 5vw, 60px);
  --section-py: clamp(72px, 9vw, 120px);
  --radius: 8px;
  --radius-lg: 12px;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-2);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  color: var(--text-1);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(36px, 5.5vw, 68px); line-height: 1.06; }
h2 { font-size: clamp(28px, 4vw, 50px); }
h3 { font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; letter-spacing: -0.01em; }
p  { color: var(--text-3); font-size: 15px; line-height: 1.7; }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.section { padding: var(--section-py) 0; position: relative; }
.bg--darkest { background: var(--bg-darkest); }
.bg--dark    { background: var(--bg-dark); }
.bg--dark-2  { background: var(--bg-dark-2); }
.bg--mid     { background: var(--bg-mid); }

/* ── LABEL ──────────────────────────────────────────────────── */
.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 14px;
}
.label--teal { color: var(--teal); }

/* ── SECTION HEADER ─────────────────────────────────────────── */
.section__hd {
  max-width: 780px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section__hd h2 { margin-bottom: 16px; }
.section__intro {
  font-size: 17px;
  color: var(--text-3);
  line-height: 1.7;
  max-width: 640px;
}
.section__hd--light h2,
.section__hd--light .section__intro { color: var(--text-1); }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-dark);
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(182, 227, 107, 0.25);
}
.btn--ghost {
  border: 1px solid rgba(248, 250, 252, 0.18);
  color: var(--text-1);
}
.btn--ghost:hover {
  border-color: rgba(248, 250, 252, 0.35);
  background: rgba(248, 250, 252, 0.05);
}
.btn--outline {
  border: 1px solid var(--teal-border);
  color: var(--teal);
}
.btn--outline:hover {
  background: var(--teal-bg);
  border-color: var(--teal);
}
.btn--lg { padding: 16px 32px; font-size: 15px; }


/* ────────────────────────────────────────────────────────────
   NAVIGATION
──────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav--scrolled {
  background: rgba(6, 13, 24, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 45px;
  width: auto;
  display: block;
}
.nav__logo-img--footer {
  height: 27px;
  width: auto;
  opacity: 0.9;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text-3);
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav__link:hover { color: var(--text-1); background: rgba(255,255,255,0.05); }
.nav__cta {
  margin-left: 8px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  background: var(--accent);
  color: var(--accent-dark);
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
}
.nav__cta:hover { background: var(--accent-hover); transform: translateY(-1px); }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-2);
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.nav__burger--open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger--open span:nth-child(2) { opacity: 0; }
.nav__burger--open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ────────────────────────────────────────────────────────────
   HERO — full-bleed image
──────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-dark);
  background-size: cover;
  background-position: center 30%;
}

/* Parallax on desktop */
@media (min-width: 769px) {
  .hero { background-attachment: fixed; }
}

/* Dark overlay over image */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6, 13, 24, 0.72) 0%,
    rgba(6, 13, 24, 0.62) 50%,
    rgba(6, 13, 24, 0.88) 100%
  );
  z-index: 0;
}

/* Subtle grid on top */
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42, 157, 143, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 157, 143, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  z-index: 1;
  pointer-events: none;
}

/* Subtle teal glow */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
  animation: glow-breathe 9s ease-in-out infinite;
}
.hero__glow--a {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(42,157,143,0.1) 0%, transparent 70%);
  top: -60px; right: 5%;
}
@keyframes glow-breathe {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%       { transform: scale(1.2); opacity: 1; }
}

.hero__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 140px var(--pad-x) 120px;
  position: relative;
  z-index: 2;
}

.hero__copy { max-width: 700px; }
.hero__copy .label { margin-bottom: 20px; }

/* Word-reveal: each word is a span, hidden by default, animated in by JS */
.hero__h1 {
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text-1);
  margin-bottom: 28px;
}
.hero__h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  /* JS sets transition-delay per word */
}
.hero__h1 .word.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Fallback if JS fails */
.hero__h1.no-js { opacity: 1; }
.hero__h1.no-js .word { opacity: 1; transform: none; }

.hero__sub {
  font-size: 18px;
  color: rgba(203, 213, 225, 0.85);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 540px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Signal bar at bottom of hero */
.hero__signals {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 0 var(--pad-x);
  max-width: 100%;
  border-top: 1px solid rgba(51, 65, 85, 0.5);
  background: rgba(6, 13, 24, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero__signal {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  flex: 1;
}
.hero__signal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}
.hero__signal-dot--accent { background: var(--accent); }
.hero__signal-div {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}


/* ────────────────────────────────────────────────────────────
   SECTION WITH IMAGE BACKGROUND
──────────────────────────────────────────────────────────── */
.section--img-bg {
  background-size: cover;
  background-position: center;
  background-color: var(--bg-dark);
}
.section__img-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.section__img-overlay--dark {
  background: linear-gradient(
    135deg,
    rgba(6, 13, 24, 0.88) 0%,
    rgba(6, 13, 24, 0.78) 50%,
    rgba(6, 13, 24, 0.86) 100%
  );
}
/* Very subtle texture-only overlay */
.section__img-overlay--subtle {
  background: rgba(6, 13, 24, 0.82);
}


/* ────────────────────────────────────────────────────────────
   WHY SPAIN — image section with numbered signals
──────────────────────────────────────────────────────────── */
.why-signals {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
}
.why-signal {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(51, 65, 85, 0.4);
}
.why-signal:last-child { border-bottom: none; }
.why-signal__num {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.1em;
  min-width: 22px;
  flex-shrink: 0;
}
.why-signal__text {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-1);
  line-height: 1.4;
}


/* ────────────────────────────────────────────────────────────
   IMAGE CARDS — What We Do
──────────────────────────────────────────────────────────── */
.img-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--bg-darkest);
}

.img-card {
  position: relative;
  aspect-ratio: 4 / 3;
  display: block;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-mid);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.img-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6, 13, 24, 0.96) 0%,
    rgba(6, 13, 24, 0.55) 45%,
    rgba(6, 13, 24, 0.18) 100%
  );
  transition: opacity 0.4s ease;
}
.img-card:hover .img-card__overlay { opacity: 0.8; }

/* Hover: show more of the image by lightening overlay slightly */
.img-card { background-size: cover; }

.img-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 36px;
  z-index: 2;
}
.img-card__num {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.img-card__title {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.img-card__text {
  font-size: 14px;
  color: rgba(203, 213, 225, 0.7);
  line-height: 1.6;
  max-width: 380px;
  transition: color 0.3s;
}
.img-card:hover .img-card__text { color: rgba(203, 213, 225, 0.9); }


/* ────────────────────────────────────────────────────────────
   FLOW DIAGRAM
──────────────────────────────────────────────────────────── */
.flow {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: auto;
  padding: 8px 0 20px;
}
.flow__step {
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(30, 41, 59, 0.4);
  position: relative;
}
.flow__step--highlight {
  background: rgba(42, 157, 143, 0.08);
  border-color: var(--teal-border);
  box-shadow: 0 0 40px rgba(42, 157, 143, 0.1);
}
.flow__tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.flow__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: var(--text-3);
}
.flow__step--highlight .flow__icon { color: var(--teal); }
.flow__icon svg { width: 100%; height: 100%; }
.flow__label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 6px;
  line-height: 1.3;
}
.flow__sub { font-size: 12px; color: var(--text-4); }
.flow__step--highlight .flow__label { color: var(--text-1); }
.flow__arrow { flex: 0 0 60px; min-width: 60px; height: 20px; color: var(--text-4); }
.flow__arrow svg { width: 60px; height: 20px; overflow: visible; }
.flow-dot { fill: var(--teal); }
.flow-dot--1 { animation: dot-pulse 2s ease-in-out infinite; }
.flow-dot--2 { animation: dot-pulse 2s ease-in-out 0.4s infinite; }
.flow-dot--3 { animation: dot-pulse 2s ease-in-out 0.8s infinite; }
@keyframes dot-pulse {
  0%, 100% { opacity: 0.15; r: 2; }
  50%       { opacity: 0.9;  r: 3; }
}


/* ────────────────────────────────────────────────────────────
   WHY LUSELIO — large statements (Ingrid-inspired)
──────────────────────────────────────────────────────────── */
.statements {
  margin-top: 40px;
  max-width: 900px;
}
.statement { padding: 8px 0; }
.statement__divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 28px;
}
.statement__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: baseline;
  padding-bottom: 28px;
}
.statement__claim {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--text-1);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.statement__explain {
  font-size: 15px;
  color: var(--text-3);
  line-height: 1.7;
}


/* ────────────────────────────────────────────────────────────
   PLATFORM SECTION
──────────────────────────────────────────────────────────── */
.platform {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: start;
}
.platform__copy .label { margin-bottom: 16px; }
.platform__copy h2 { margin-bottom: 24px; }
.platform__copy p {
  font-size: 16px;
  color: var(--text-3);
  line-height: 1.75;
  margin-bottom: 16px;
}
.platform__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 40px;
}
.kpi { background: rgba(30, 41, 59, 0.7); padding: 20px 22px; backdrop-filter: blur(4px); }
.kpi__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 6px;
}
.kpi__value { font-size: 15px; font-weight: 600; color: var(--teal); }

.lifecycle {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.lifecycle__step {
  background: rgba(30, 41, 59, 0.65);
  backdrop-filter: blur(4px);
  padding: 22px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: background 0.2s;
}
.lifecycle__step:hover { background: rgba(36, 52, 71, 0.8); }
.lifecycle__step--highlight {
  background: rgba(42, 157, 143, 0.1);
  border-left: 3px solid var(--teal);
}
.lifecycle__step--highlight:hover { background: rgba(42, 157, 143, 0.14); }
.lifecycle__num {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.05em;
  min-width: 28px;
  padding-top: 2px;
}
.lifecycle__body { flex: 1; }
.lifecycle__body strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 4px;
}
.lifecycle__body span { font-size: 13px; color: var(--text-4); line-height: 1.5; }
.lifecycle__tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(182, 227, 107, 0.1);
  padding: 3px 10px;
  border-radius: 4px;
}


/* ────────────────────────────────────────────────────────────
   FOCUS TAGS
──────────────────────────────────────────────────────────── */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-3);
  background: rgba(30, 41, 59, 0.5);
  transition: all 0.2s;
  cursor: default;
}
.tag:hover { border-color: var(--teal-border); color: var(--text-1); background: var(--teal-bg); }


/* ────────────────────────────────────────────────────────────
   PARTNER SECTION
──────────────────────────────────────────────────────────── */
.partner {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 80px;
  align-items: start;
}
.partner__copy .label { margin-bottom: 16px; }
.partner__copy h2 { margin-bottom: 24px; }
.partner__copy > p { font-size: 16px; color: var(--text-3); line-height: 1.75; margin-bottom: 32px; }
.partner__types { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.partner__type {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
}
.partner__type svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }
.partner__quote {
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}
.partner__quote blockquote { font-size: 15px; font-style: italic; color: var(--text-2); line-height: 1.7; }
.partner__metrics {
  background: var(--bg-darkest);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.partner__metric {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 20px;
}
.partner__metric:last-child { border-bottom: none; }
.partner__metric-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.01em;
  min-width: 100px;
  line-height: 1.2;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.partner__metric-lbl { font-size: 13px; color: var(--text-4); line-height: 1.4; }


/* ────────────────────────────────────────────────────────────
   FINAL CTA
──────────────────────────────────────────────────────────── */
.section--cta { overflow: hidden; text-align: center; }
.cta-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42, 157, 143, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 157, 143, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  pointer-events: none;
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(42,157,143,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.cta .label { display: block; margin-bottom: 20px; }
.cta__h2 { font-size: clamp(28px, 4vw, 50px); margin-bottom: 20px; letter-spacing: -0.025em; }
.cta__sub { font-size: 17px; color: var(--text-3); margin-bottom: 40px; line-height: 1.65; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }


/* ────────────────────────────────────────────────────────────
   FOOTER
──────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-darkest);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer__top { display: flex; gap: 80px; margin-bottom: 48px; }
.footer__brand { flex: 0 0 280px; }
.footer__logo { margin-bottom: 16px; }
.footer__tagline { font-size: 13.5px; color: var(--text-4); line-height: 1.65; }
.footer__cols { flex: 1; display: flex; gap: 48px; justify-content: flex-end; }
.footer__col { display: flex; flex-direction: column; gap: 10px; min-width: 130px; }
.footer__col-hd {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 6px;
}
.footer__link { font-size: 14px; color: var(--text-3); transition: color 0.15s; }
.footer__link:hover { color: var(--text-1); }
.footer__link--muted { color: var(--text-4); }
.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-4);
}


/* ────────────────────────────────────────────────────────────
   SCROLL ANIMATIONS
──────────────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Image sections scale in */
.img-zoom {
  transform: scale(1.03);
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.img-zoom.visible { transform: scale(1); }


/* ────────────────────────────────────────────────────────────
   RESPONSIVE — tablet ≤ 1024px
──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .platform { grid-template-columns: 1fr; gap: 48px; }
  .platform__kpis { grid-template-columns: repeat(3, 1fr); }
  .partner { grid-template-columns: 1fr; gap: 48px; }
  .statement__row { grid-template-columns: 1fr; gap: 12px; }
}

/* ────────────────────────────────────────────────────────────
   RESPONSIVE — mobile ≤ 680px
──────────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  :root { --section-py: 64px; }

  /* Nav */
  .nav__links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    height: calc(100vh - 60px);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px var(--pad-x);
    background: #060D18;
    border-top: 1px solid var(--border);
    overflow-y: auto;
    gap: 4px;
    z-index: 101;
  }
  .nav__links--open { display: flex; }
  .nav__link { width: 100%; font-size: 16px; padding: 12px 16px; }
  .nav__cta  { width: 100%; text-align: center; justify-content: center; margin: 8px 0 0; }
  .nav__burger { display: flex; }

  /* Hero */
  .hero { background-attachment: scroll; }
  .hero__inner { padding: 110px var(--pad-x) 100px; }
  .hero__h1 { font-size: clamp(32px, 9vw, 48px); }
  .hero__sub { font-size: 15px; }
  .hero__signals { display: none; } /* too cramped on small screens */

  /* Image cards: single column */
  .img-cards { grid-template-columns: 1fr; }
  .img-card { aspect-ratio: 16/9; }

  /* Flow diagram */
  .flow { flex-direction: column; align-items: stretch; gap: 8px; }
  .flow__step { max-width: 100%; min-width: 0; flex-direction: row; text-align: left; padding: 20px 24px; gap: 16px; }
  .flow__step--highlight { flex-direction: column; align-items: flex-start; }
  .flow__icon { margin-bottom: 0; flex-shrink: 0; }
  .flow__arrow { display: none; }

  /* Statements */
  .statements { max-width: 100%; }
  .statement__row { grid-template-columns: 1fr; gap: 12px; }

  /* Platform */
  .platform__kpis { grid-template-columns: 1fr; }

  /* Footer */
  .footer__top { flex-direction: column; gap: 40px; }
  .footer__brand { flex: none; }
  .footer__cols { gap: 32px; flex-wrap: wrap; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 6px; }

  .cta__actions { flex-direction: column; align-items: center; }
  .btn--lg { width: 100%; justify-content: center; }
}
