/* =========================
   NOSOTROS - CTA
========================= */

.nosotros-cta {
  position: relative;
  overflow: hidden;
  padding: 72px 0 86px;
  background:
    radial-gradient(circle at 14% 38%, rgba(79, 107, 255, 0.06), transparent 25%),
    radial-gradient(circle at 88% 12%, rgba(217, 107, 255, 0.08), transparent 26%),
    #ffffff;
}

/* =========================
   BOX
========================= */

.nosotros-cta-box {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 44px;
  min-height: 330px;
  padding: 46px 48px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 16% 18%, rgba(79, 107, 255, 0.62), transparent 26%),
    radial-gradient(circle at 88% 20%, rgba(217, 107, 255, 0.52), transparent 28%),
    radial-gradient(circle at 78% 82%, rgba(255, 190, 230, 0.32), transparent 30%),
    linear-gradient(135deg, #07124c 0%, #17249a 62%, #7145ff 82%, #d46dff 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 32px 90px rgba(23, 36, 154, 0.26),
    0 16px 38px rgba(5, 9, 31, 0.13),
    0 0 42px rgba(139, 104, 255, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* Sin .nosotros-cta-box::before para no crear el rectángulo transparente interno */

.nosotros-cta-box::after {
  content: "";
  position: absolute;
  right: -150px;
  bottom: -190px;
  z-index: 0;
  width: 510px;
  height: 510px;
  border-radius: 999px;
  pointer-events: none;
  background:
    radial-gradient(circle at 42% 36%, rgba(255, 255, 255, 0.30), transparent 12%),
    radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 66%),
    radial-gradient(circle, rgba(208, 112, 255, 0.14), transparent 72%);
  filter: blur(4px);
}

/* =========================
   DECORACIÓN
========================= */

.nosotros-cta-decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.nosotros-cta-glow {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(34px);
  opacity: 0.78;
}

.nosotros-cta-glow-one {
  left: 8%;
  top: 16%;
  width: 280px;
  height: 280px;
  background: rgba(79, 107, 255, 0.22);
}

.nosotros-cta-glow-two {
  right: 10%;
  top: 12%;
  width: 340px;
  height: 340px;
  background: rgba(217, 107, 255, 0.26);
}

.nosotros-cta-glow-three {
  right: 22%;
  bottom: -70px;
  width: 320px;
  height: 220px;
  background: rgba(255, 190, 230, 0.20);
}

.nosotros-cta-wave {
  position: absolute;
  display: block;
  width: 780px;
  height: 210px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  opacity: 0.86;
}

.nosotros-cta-wave-one {
  left: -120px;
  top: 54px;
  transform: rotate(-7deg);
}

.nosotros-cta-wave-two {
  right: -150px;
  bottom: 36px;
  transform: rotate(8deg);
  opacity: 0.70;
}

.nosotros-cta-orb {
  position: absolute;
  display: block;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.18) 34%, rgba(148, 178, 255, 0.12) 62%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.30);
  box-shadow:
    inset 0 6px 16px rgba(255, 255, 255, 0.28),
    inset 0 -10px 22px rgba(87, 105, 184, 0.12),
    0 22px 54px rgba(5, 9, 31, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nosotros-cta-orb-one {
  right: 24%;
  top: 46px;
  width: 58px;
  height: 58px;
  opacity: 0.46;
}

.nosotros-cta-orb-two {
  right: 7%;
  bottom: 62px;
  width: 92px;
  height: 92px;
  opacity: 0.30;
}

/* =========================
   CONTENIDO
========================= */

.nosotros-cta-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.nosotros-cta .section-label {
  margin-bottom: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 36px rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nosotros-cta h2 {
  margin: 18px 0 0;
  max-width: 780px;
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: -1.7px;
  font-weight: 800;
  text-wrap: balance;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 34px rgba(5, 10, 32, 0.18);
}

.nosotros-cta h2 span {
  color: transparent;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #e9ecff 18%,
    #c7c2ff 42%,
    #d8a7ff 72%,
    #f4ddff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 800;
  text-shadow: none;
}

.nosotros-cta p {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.72;
}

/* =========================
   ACTIONS
========================= */

.nosotros-cta-actions {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.nosotros-cta-actions::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: -1;
  width: 300px;
  height: 150px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.20), transparent 68%),
    radial-gradient(circle, rgba(217, 107, 255, 0.18), transparent 74%);
  filter: blur(26px);
  opacity: 0.9;
}

.nosotros-cta-actions .btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
}

.nosotros-cta-actions .btn::before {
  content: "";
  position: absolute;
  top: -48%;
  left: -72%;
  z-index: 0;
  width: 54%;
  height: 200%;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.10) 34%,
    rgba(255, 255, 255, 0.72) 50%,
    rgba(255, 255, 255, 0.12) 66%,
    transparent 100%
  );
  transform: rotate(16deg);
  opacity: 0;
  transition:
    left 0.62s ease,
    opacity 0.22s ease;
}

.nosotros-cta-actions .btn:hover::before {
  left: 125%;
  opacity: 1;
}

.nosotros-cta-actions .btn > * {
  position: relative;
  z-index: 2;
}

.nosotros-cta-actions .btn-primary {
  color: #1d1646;
  background:
    linear-gradient(135deg, #ffffff 0%, #f3f4ff 44%, #ffe6fb 100%);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    0 18px 42px rgba(19, 22, 78, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.90);
}

.nosotros-cta-actions .btn-primary:hover {
  transform: translateY(-3px);
  color: #151142;
  box-shadow:
    0 24px 56px rgba(19, 22, 78, 0.24),
    0 0 28px rgba(255, 255, 255, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.nosotros-cta-actions .btn-primary span {
  transition: transform 0.22s ease;
}

.nosotros-cta-actions .btn-primary:hover span {
  transform: translateX(4px);
}

.nosotros-cta-actions .btn-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 16px 34px rgba(7, 12, 45, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nosotros-cta-actions .btn-secondary:hover {
  transform: translateY(-3px);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 22px 48px rgba(7, 12, 45, 0.20);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
  .nosotros-cta-box {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 32px;
    min-height: auto;
    padding: 42px 34px;
  }

  .nosotros-cta-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .nosotros-cta-actions::before {
    left: 120px;
  }
}

@media (max-width: 720px) {
  .nosotros-cta {
    padding: 50px 0 66px;
  }

  .nosotros-cta-box {
    padding: 32px;
    border-radius: 30px;
  }

  .nosotros-cta h2 {
    font-size: clamp(31px, 7.8vw, 42px);
    line-height: 1.06;
    letter-spacing: -1.15px;
  }

  .nosotros-cta p {
    font-size: 15.5px;
    line-height: 1.66;
  }

  .nosotros-cta-actions {
    gap: 10px;
  }

  .nosotros-cta-actions::before {
    width: 240px;
    height: 110px;
    left: 50%;
  }

  .nosotros-cta-actions .btn {
    width: 100%;
    min-height: 56px;
  }
}

@media (max-width: 560px) {
  .nosotros-cta {
    padding: 46px 0 62px;
  }

  .nosotros-cta-box {
    padding: 36px 24px;
    border-radius: 28px;
  }

  .nosotros-cta-wave {
    width: 620px;
    opacity: 0.52;
  }

  .nosotros-cta-wave-one {
    left: -180px;
    top: 76px;
  }

  .nosotros-cta-wave-two {
    right: -230px;
    bottom: 40px;
  }

  .nosotros-cta-orb-one {
    right: 18px;
    top: 34px;
    width: 48px;
    height: 48px;
  }

  .nosotros-cta-orb-two {
    right: -26px;
    bottom: 58px;
    width: 74px;
    height: 74px;
  }

  .nosotros-cta h2 {
    margin-top: 16px;
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.04;
    letter-spacing: -1.15px;
    font-weight: 800;
  }

  .nosotros-cta p {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.66;
  }
}

@media (max-width: 480px) {
  .nosotros-cta {
    padding: 46px 0 58px;
  }

  .nosotros-cta-box {
    padding: 28px;
    border-radius: 26px;
  }

  .nosotros-cta h2 {
    font-size: clamp(28px, 8vw, 35px);
  }

  .nosotros-cta p {
    font-size: 15px;
  }
}