/* ====== SESIÓN 1: HERO INVIERTE ====== */
.invierte-hero {
  position: relative;
  width: 100%;
  min-height: 85vh;
  background: radial-gradient(circle at top, #0b1120 0%, #020617 45%, #0f172a 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
  box-sizing: border-box;
}

/* capa oscura sutil */
.invierte-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2, 6, 23, 0.7) 0%,
    rgba(15, 23, 42, 0.4) 40%,
    rgba(15, 23, 42, 0) 100%
  );
  z-index: 1;
}

/* líneas/grid tecnológicas al fondo */
.invierte-hero__grid {
  position: absolute;
  inset: -20% -10%;
  background-image:
    linear-gradient(transparent 1px, rgba(248, 250, 252, 0.02) 1px),
    linear-gradient(90deg, transparent 1px, rgba(248, 250, 252, 0.02) 1px);
  background-size: 160px 160px;
  opacity: 0.6;
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.15));
  z-index: 0;
}

/* forma luminosa lateral */
.invierte-hero__bgshape {
  position: absolute;
  right: -12%;
  top: 10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.45) 0%, rgba(2, 6, 23, 0) 65%);
  filter: blur(12px);
  z-index: 1;
  pointer-events: none;
}

.invierte-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  text-align: left;
  color: #e2e8f0;
}

.invierte-hero__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.9);
  margin-bottom: 1.25rem;
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 9999px;
  padding: 0.4rem 1.25rem;
  backdrop-filter: blur(18px);
}

.invierte-hero__title {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.6rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.invierte-hero__subtitle {
  max-width: 650px;
  font-size: 1.025rem;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.85);
  margin-bottom: 2.2rem;
}

.invierte-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #38bdf8 0%, #0ea5e9 55%, #6366f1 100%);
  color: #0f172a;
  font-weight: 600;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 16px 38px rgba(14, 165, 233, 0.35);
  gap: 0.4rem;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.25);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #e2e8f0;
  font-weight: 500;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.3s ease, border 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(226, 232, 240, 0.7);
  transform: translateY(-3px);
}

.invierte-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  color: rgba(148, 163, 184, 0.95);
  font-size: 0.85rem;
}

.invierte-hero__meta .separator {
  width: 34px;
  height: 1px;
  background: rgba(148, 163, 184, 0.35);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
  .invierte-hero {
    min-height: 100vh;
    padding-top: 6.5rem;
  }
  .invierte-hero__content {
    text-align: left;
  }
  .invierte-hero__subtitle {
    max-width: 100%;
  }
  .invierte-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .invierte-hero {
    padding: 5.5rem 1.25rem 3.5rem;
  }
  .invierte-hero__title {
    font-size: 2.25rem;
  }
  .invierte-hero__meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ====== SESIÓN 2: POR QUÉ INVERTIR ====== */
.invierte-why {
  width: 100%;
  background: radial-gradient(circle at top, #ffffff 0%, #eef2ff 65%, #e2e8f0 100%);
  padding: 5.5rem 1.5rem 5rem;
  box-sizing: border-box;
}

.invierte-why__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.invierte-why__header {
  max-width: 750px;
  margin-bottom: 3.5rem;
}

.section-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  font-weight: 500;
  color: #475569;
  background: rgba(248, 250, 252, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 999px;
  padding: 0.35rem 1rem 0.45rem;
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(2rem, 3.1vw, 2.45rem);
  line-height: 1.05;
  color: #0f172a;
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1rem;
  color: #334155;
  line-height: 1.7;
}

.invierte-why__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: rgba(248, 250, 252, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 1.5rem;
  padding: 1.7rem 1.6rem 1.6rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  min-height: 190px;
}

.why-card h3 {
  font-size: 1.05rem;
  color: #0f172a;
  margin-bottom: 0.85rem;
}

.why-card p {
  color: #475569;
  line-height: 1.55;
  font-size: 0.92rem;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.08);
  border-color: rgba(99, 102, 241, 0.45);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .invierte-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .invierte-why {
    padding: 4.5rem 1.2rem;
  }
  .invierte-why__grid {
    grid-template-columns: 1fr;
  }
  .why-card {
    border-radius: 1.25rem;
  }
}
/* ====== SESIÓN 3: ESTRUCTURA DE FINANCIACIÓN ====== */
.invierte-struct {
  width: 100%;
  background: radial-gradient(circle at center, #0f172a 0%, #020617 80%);
  padding: 5rem 1.5rem 5.5rem;
  box-sizing: border-box;
}

.invierte-struct__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.invierte-struct__header {
  text-align: left;
  max-width: 720px;
  margin-bottom: 3.25rem;
}

.invierte-struct .section-kicker {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: rgba(226, 232, 240, 0.85);
}

.invierte-struct .section-title {
  color: #f8fafc;
}

.invierte-struct .section-subtitle {
  color: rgba(203, 213, 225, 0.85);
  max-width: 650px;
}

.invierte-struct__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.struct-card {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.35) 0%, rgba(2, 6, 23, 0.15) 70%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 1.4rem;
  padding: 1.5rem 1.4rem 1.6rem;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border 0.3s ease, box-shadow 0.35s ease;
  min-height: 230px;
}

.struct-card--primary {
  background: radial-gradient(circle at top, rgba(14, 165, 233, 0.35) 0%, rgba(2, 6, 23, 0.12) 80%);
  border: 1px solid rgba(125, 211, 252, 0.55);
  box-shadow: 0 18px 45px rgba(15, 118, 178, 0.22);
}

.struct-card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  color: #ffffff;
}

.struct-card p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.85);
}

.platform-list {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0.6rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.3rem;
}

.platform-list li {
  font-size: 0.78rem;
  color: rgba(226, 232, 240, 0.85);
  background: rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 999px;
  padding: 0.25rem 0.75rem 0.35rem;
  width: fit-content;
}

.struct-note {
  font-size: 0.72rem;
  color: rgba(203, 213, 225, 0.65);
  line-height: 1.4;
}

.struct-link {
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 500;
  color: #38bdf8;
  text-decoration: none;
  display: inline-flex;
  gap: 0.25rem;
  align-items: center;
  transition: color 0.25s ease, transform 0.25s ease;
}

.struct-card:hover {
  transform: translateY(-6px);
  border-color: rgba(148, 163, 184, 0.55);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.38);
}

.struct-link:hover {
  color: #e2e8f0;
  transform: translateX(2px);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1100px) {
  .invierte-struct__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .invierte-struct {
    padding: 4.5rem 1.1rem 4.8rem;
  }
  .invierte-struct__grid {
    grid-template-columns: 1fr;
  }
  .struct-card {
    border-radius: 1.2rem;
  }
  .platform-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* ====== SESIÓN 4: RESERVAS E-READER ====== */
.invierte-ereader {
  width: 100%;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 80%);
  padding: 6rem 1.5rem 6rem;
  box-sizing: border-box;
}

.invierte-ereader__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.invierte-ereader__text {
  flex: 1 1 480px;
  color: #0f172a;
}

.invierte-ereader__image {
  flex: 1 1 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.invierte-ereader__image img {
  width: 95%;
  max-width: 520px;
  border-radius: 1.4rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.invierte-ereader__image img:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.25);
}

.invierte-ereader__features {
  margin: 2rem 0 2.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.invierte-ereader__features li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  color: #334155;
}

.invierte-ereader__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(90deg, #0ea5e9, #6366f1);
}

.invierte-ereader__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.invierte-ereader__note {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.4;
  max-width: 400px;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
  .invierte-ereader__inner {
    flex-direction: column-reverse;
    text-align: left;
  }
  .invierte-ereader__image img {
    width: 100%;
    max-width: 460px;
  }
}

@media (max-width: 640px) {
  .invierte-ereader {
    padding: 4.5rem 1.25rem 5rem;
  }
  .invierte-ereader__features li {
    font-size: 0.9rem;
  }
}
/* ====== SESIÓN 5: CÓMO FUNCIONA TU APOYO ====== */
.invierte-flow {
  width: 100%;
  background:
    radial-gradient(circle at 20% 10%, rgba(56,189,248,0.18), transparent 35%),
    radial-gradient(circle at 85% 30%, rgba(99,102,241,0.18), transparent 40%),
    radial-gradient(circle at 50% 120%, rgba(14,165,233,0.12), transparent 55%),
    radial-gradient(#0b1226 1px, transparent 1px);
  background-size: auto, auto, auto, 22px 22px;
  background-color: #0a0f1f;
  padding: 5.5rem 1.5rem 6rem;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.invierte-flow__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.invierte-flow__header {
  max-width: 760px;
  margin-bottom: 3.2rem;
}

.invierte-flow .section-title { color: #f8fafc; }
.invierte-flow .section-subtitle { color: rgba(226,232,240,0.85); }

.invierte-flow__map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  min-height: 280px;
}

/* Líneas animadas (neón) */
.flow-connector {
  position: absolute;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(56,189,248,0) 0%, rgba(56,189,248,0.9) 50%, rgba(56,189,248,0) 100%);
  filter: drop-shadow(0 0 10px rgba(56,189,248,0.45));
  opacity: 0.65;
  animation: flow 2.6s linear infinite;
}

.flow-connector--h {
  height: 2px;
  width: 72%;
  left: 14%;
  top: calc(50% - 1px);
}

.flow-connector--v {
  width: 2px;
  height: 68%;
  left: 50%;
  top: 16%;
  background: linear-gradient(180deg, rgba(99,102,241,0) 0%, rgba(99,102,241,0.9) 50%, rgba(99,102,241,0) 100%);
  filter: drop-shadow(0 0 10px rgba(99,102,241,0.45));
  animation-duration: 3.4s;
}

@keyframes flow {
  0% { opacity: 0.25; }
  50% { opacity: 0.85; }
  100% { opacity: 0.25; }
}

/* Tarjetas glass conectadas */
.flow-step {
  position: relative;
  background: linear-gradient(180deg, rgba(15,23,42,0.55) 0%, rgba(2,6,23,0.35) 100%);
  border: 1px solid rgba(148,163,184,0.28);
  border-radius: 1.4rem;
  padding: 1.4rem 1.3rem 1.5rem;
  color: #e2e8f0;
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 50px rgba(2,6,23,0.25);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  min-height: 190px;
}

.flow-step__num {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: #94a3b8;
  background: rgba(2,6,23,0.45);
  border: 1px solid rgba(148,163,184,0.25);
  border-radius: 999px;
  padding: 0.28rem 0.7rem 0.34rem;
  margin-bottom: 0.9rem;
}

.flow-step h3 {
  font-size: 1.02rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.flow-step p {
  font-size: 0.92rem;
  color: rgba(226,232,240,0.85);
  line-height: 1.55;
}

.flow-step:hover {
  transform: translateY(-6px);
  border-color: rgba(99,102,241,0.55);
  box-shadow: 0 26px 60px rgba(15,23,42,0.38);
}

/* Posiciones (desktop) */
.flow-step--1 { grid-column: 1 / span 1; grid-row: 1; }
.flow-step--2 { grid-column: 2 / span 1; grid-row: 1; }
.flow-step--3 { grid-column: 3 / span 1; grid-row: 1; }
.flow-step--4 { grid-column: 4 / span 1; grid-row: 1; }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .invierte-flow__map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow-connector--h { width: 80%; left: 10%; top: calc(33% - 1px); }
  .flow-connector--v { left: 50%; height: 54%; top: 24%; }
}

@media (max-width: 640px) {
  .invierte-flow {
    padding: 4.8rem 1.1rem 5rem;
  }
  .invierte-flow__map {
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: auto;
  }
  .flow-connector { display: none; } /* en móvil dejamos las tarjetas sin líneas */
}
/* ====== Subetiquetas extra (Apoyo voluntario / Aún no disponible) ====== */
.flow-extra {
  margin-top: 1rem;
}

.flow-extra__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
}

.flow-extra__label--disabled {
  color: rgba(203, 213, 225, 0.7);
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.25);
}
/* ====== SESIÓN 6: IMPACTO TECNOLÓGICO Y CULTURAL ====== */
.invierte-impacto {
  width: 100%;
  background:
    radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.07), transparent 45%),
    radial-gradient(circle at 90% 0%, rgba(14, 165, 233, 0.06), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 5.5rem 1.5rem 5.5rem;
  box-sizing: border-box;
}

.invierte-impacto__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.invierte-impacto__header {
  max-width: 720px;
  margin-bottom: 3.4rem;
}

.invierte-impacto .section-title {
  color: #0f172a;
}

.invierte-impacto .section-subtitle {
  color: #475569;
  line-height: 1.7;
}

.invierte-impacto__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.3rem;
}

.impact-card {
  background: rgba(248, 250, 252, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1.35rem;
  padding: 1.6rem 1.4rem 1.7rem;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(6px);
  min-height: 180px;
}

.impact-card h3 {
  font-size: 1rem;
  color: #0f172a;
  margin-bottom: 0.7rem;
}

.impact-card p {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.55;
}

.impact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.invierte-impacto__foot {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding-top: 2.6rem;
}

.impact-quote {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #0f172a;
  max-width: 780px;
  font-weight: 500;
  font-style: italic;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 980px) {
  .invierte-impacto__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .invierte-impacto {
    padding: 4.5rem 1.1rem 4.8rem;
  }
  .invierte-impacto__grid {
    grid-template-columns: 1fr;
  }
  .impact-card {
    border-radius: 1.1rem;
  }
}
/* ====== SESIÓN 7: LÍNEA DE TIEMPO ====== */
.invierte-timeline {
  width: 100%;
  background: linear-gradient(160deg, #020617 0%, #0f172a 35%, #1e293b 100%);
  color: #e2e8f0;
  padding: 5.5rem 1.5rem 5.8rem;
  box-sizing: border-box;
}

.invierte-timeline__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.invierte-timeline__header {
  max-width: 760px;
  margin-bottom: 3rem;
}

.timeline {
  position: relative;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 1.5rem;
}

.timeline__progress {
  position: relative;
  height: 4px;
  background: rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  margin-bottom: 2.4rem;
}

.timeline__bar {
  position: absolute;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #38bdf8 0%, #6366f1 50%, #a855f7 100%);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.45);
  transition: width 0.8s ease-out;
}

.timeline__events {
  display: flex;
  gap: 1.1rem;
  min-width: 900px;
}

.timeline__event {
  flex: 1 0 180px;
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 1.1rem;
  padding: 1.1rem 1.1rem 1.25rem;
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border 0.25s ease;
}

.timeline__event h3 {
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
  color: #fff;
}

.timeline__event p {
  font-size: 0.78rem;
  line-height: 1.3;
  color: rgba(226, 232, 240, 0.78);
  margin-bottom: 0.7rem;
}

.timeline-btn {
  display: inline-block;
  background: rgba(226, 232, 240, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.5);
  border-radius: 999px;
  color: #e2e8f0;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.timeline-btn:hover {
  background: rgba(226, 232, 240, 0.2);
  transform: translateY(-2px);
}

.timeline__event.active {
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.3);
  transform: translateY(-6px);
}

.timeline__legend {
  margin-top: 2.4rem;
  font-size: 0.72rem;
  color: rgba(203, 213, 225, 0.7);
}

/* Responsive */
@media (max-width: 780px) {
  .timeline__events {
    min-width: 100%;
    flex-wrap: wrap;
  }
  .timeline__event {
    flex: 1 1 calc(50% - 0.75rem);
  }
}

@media (max-width: 520px) {
  .timeline__event {
    flex: 1 1 100%;
  }
}
/* ====== MEJORAS VISUALES PARA EL BLOQUE DE LÍNEA DE TIEMPO ====== */

/* Fondo general más equilibrado */
.invierte-timeline {
  background: radial-gradient(circle at 40% 10%, rgba(59,130,246,0.12) 0%, transparent 55%),
              linear-gradient(180deg, #020617 0%, #0b1222 50%, #0f172a 100%);
  color: #f8fafc;
}

/* Efecto glow azul en el título */
.invierte-timeline .section-title {
  background: linear-gradient(90deg, #38bdf8 0%, #6366f1 40%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 0 20px rgba(59,130,246,0.25), 0 0 40px rgba(99,102,241,0.15);
}

/* Subtítulo más claro */
.invierte-timeline .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.7;
}

/* Kicker con contraste */
.invierte-timeline .section-kicker {
  color: #93c5fd;
  border-color: rgba(147,197,253,0.5);
  background: rgba(30,58,138,0.3);
  letter-spacing: 0.25em;
}

/* Línea divisoria */
.timeline__progress {
  background: rgba(148,163,184,0.25);
}
.timeline__bar {
  background: linear-gradient(90deg, #38bdf8, #6366f1);
  box-shadow: 0 0 12px rgba(59,130,246,0.45), 0 0 24px rgba(99,102,241,0.25);
}

/* Tarjetas más luminosas */
.timeline__event {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(148, 163, 184, 0.35);
  color: #f1f5f9;
}
.timeline__event h3 {
  color: #93c5fd;
  text-shadow: 0 0 10px rgba(59,130,246,0.25);
}
.timeline__event p {
  color: rgba(241,245,249,0.8);
}
.timeline-btn {
  background: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
  color: #0f172a;
  box-shadow: 0 0 10px rgba(59,130,246,0.4);
}
.timeline-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(99,102,241,0.45);
}
/* ====== SESIÓN 7-D: OBJETIVOS ANIMADOS ====== */
.invierte-total {
  width: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(59,130,246,0.08) 0%, transparent 40%),
              linear-gradient(180deg, #020617 0%, #0b1220 60%, #0f172a 100%);
  color: #f8fafc;
  padding: 6rem 1.5rem 6rem;
  box-sizing: border-box;
}

.invierte-total__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.invierte-total__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.invierte-total .section-title {
  background: linear-gradient(90deg, #38bdf8, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  text-shadow: 0 0 25px rgba(99,102,241,0.3);
}

.total-bars {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

/* Cada fila */
.bar-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(15,23,42,0.4);
  border: 1px solid rgba(148,163,184,0.25);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.bar-row:hover {
  transform: translateY(-3px);
  border-color: rgba(56,189,248,0.55);
}

/* Izquierda */
.bar-label {
  flex: 0 0 220px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #93c5fd;
}

/* Barra */
.bar-track {
  flex: 1;
  height: 14px;
  background: rgba(148,163,184,0.2);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.bar-progress {
  width: 0;
  height: 100%;
  border-radius: 999px;
  box-shadow: 0 0 15px rgba(56,189,248,0.45);
}

/* Derecha */
.bar-amount {
  flex: 0 0 120px;
  text-align: right;
  font-size: 0.9rem;
  color: rgba(241,245,249,0.85);
}

/* Colores */
.reward .bar-progress {
  background: linear-gradient(90deg, #10b981, #34d399);
}
.equity .bar-progress {
  background: linear-gradient(90deg, #6366f1, #818cf8);
}
.web .bar-progress {
  background: linear-gradient(90deg, #0ea5e9, #38bdf8);
}

/* Responsive */
@media (max-width: 680px) {
  .bar-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .bar-label, .bar-amount {
    flex: none;
    text-align: left;
  }
  .bar-amount {
    margin-top: 0.4rem;
  }
}
/* ====== SESIÓN 8: CIERRE / CTA TRIPLE ====== */
.invierte-closing {
  width: 100%;
  background:
    radial-gradient(circle at 20% 20%, rgba(59,130,246,0.15), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(129,140,248,0.12), transparent 55%),
    linear-gradient(180deg, #020617 0%, #000 100%);
  padding: 5.5rem 1.5rem 5.5rem;
  box-sizing: border-box;
  text-align: center;
}

.invierte-closing__inner {
  max-width: 920px;
  margin: 0 auto;
}

.closing-title {
  font-size: clamp(2.1rem, 4.2vw, 2.55rem);
  line-height: 1.05;
  margin-bottom: 1.3rem;
  background: linear-gradient(90deg, #38bdf8 0%, #6366f1 45%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 22px rgba(99, 102, 241, 0.25);
  font-weight: 700;
}

.closing-subtitle {
  color: rgba(241, 245, 249, 0.78);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 auto 2.4rem;
  max-width: 620px;
}

.closing-actions {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.7rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.cta-primary {
  background: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
  color: #020617;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.35);
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(99, 102, 241, 0.55);
}

.cta-secondary {
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: #e2e8f0;
}

.cta-secondary:hover {
  background: rgba(15, 23, 42, 0.65);
  transform: translateY(-3px);
}

.cta-ghost {
  background: rgba(15, 23, 42, 0);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: rgba(226, 232, 240, 0.65);
}

.cta-ghost:hover {
  border-color: rgba(148, 163, 184, 0.5);
  color: rgba(248, 250, 252, 0.95);
  transform: translateY(-3px);
}

.closing-note {
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .invierte-closing {
    padding: 4.5rem 1.2rem 4.8rem;
  }
  .closing-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-btn {
    width: 100%;
  }
}
