/* =========================
   NOSOTROS - MISIÓN VISIÓN VALORES
========================= */

.nosotros-mvv {
  position: relative;
  padding: 60px 0 68px;
  overflow: hidden;
  color: var(--color-text);
  background:
    radial-gradient(circle at 12% 10%, rgba(79, 107, 255, 0.08), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(210, 112, 255, 0.11), transparent 28%),
    radial-gradient(circle at 50% 92%, rgba(122, 91, 255, 0.07), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8f6ff 52%, #ffffff 100%);
}

.nosotros-mvv::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background:
    radial-gradient(circle at 18% 24%, rgba(100, 124, 255, 0.06) 1px, transparent 1.8px),
    radial-gradient(circle at 78% 34%, rgba(196, 122, 255, 0.06) 1px, transparent 1.8px),
    radial-gradient(circle at 52% 74%, rgba(124, 96, 255, 0.045) 1px, transparent 1.8px);
  background-size: 54px 54px, 62px 62px, 70px 70px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

.nosotros-mvv::after {
  content: "";
  position: absolute;
  right: -220px;
  top: 80px;
  width: 620px;
  height: 620px;
  border-radius: 999px;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(191, 95, 255, 0.11), transparent 62%),
    radial-gradient(circle, rgba(79, 107, 255, 0.08), transparent 74%);
  filter: blur(28px);
}

.nosotros-mvv .container {
  position: relative;
  z-index: 2;
}

/* =========================
   HEADING
========================= */

.nosotros-mvv-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.nosotros-mvv-heading .section-label {
  margin-bottom: 16px;
}

.nosotros-mvv-heading h2 {
  margin: 0;
  color: #091338;
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1.03;
  letter-spacing: -1.45px;
  font-weight: 800;
  text-wrap: balance;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.32),
    0 10px 26px rgba(116, 92, 255, 0.07);
}

.nosotros-mvv-heading h2 span {
  color: transparent;
  background: linear-gradient(
    135deg,
    #5a6fff 0%,
    #6b63ff 28%,
    #8d5cff 58%,
    #b566ff 82%,
    #cf8dff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 800;
  text-shadow: none;
  filter: saturate(0.95);
}

.nosotros-mvv-heading p {
  max-width: 650px;
  margin: 16px auto 0;
  color: rgba(25, 33, 72, 0.72);
  font-size: 16px;
  line-height: 1.68;
}

/* =========================
   GRID
========================= */

.nosotros-mvv-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* =========================
   CARDS
========================= */

.nosotros-mvv-card {
  position: relative;
  z-index: 2;
  min-height: 388px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  padding: 26px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 10%, rgba(96, 136, 255, 0.34), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(214, 98, 255, 0.28), transparent 32%),
    radial-gradient(circle at 78% 92%, rgba(131, 99, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035) 42%, rgba(255, 255, 255, 0.09)),
    linear-gradient(145deg, #071231 0%, #0f1d55 38%, #2b2870 72%, #6b2cb7 100%);
  border: 1px solid rgba(255, 255, 255, 0.17);
  box-shadow:
    0 22px 50px rgba(18, 20, 58, 0.18),
    0 10px 26px rgba(96, 58, 164, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.23),
    inset 0 -1px 0 rgba(255, 255, 255, 0.07);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.nosotros-mvv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.78;
  background:
    linear-gradient(
      118deg,
      transparent 0%,
      transparent 35%,
      rgba(255, 255, 255, 0.12) 48%,
      rgba(255, 255, 255, 0.025) 61%,
      transparent 100%
    );
}

.nosotros-mvv-card::after {
  content: "";
  position: absolute;
  top: -90%;
  left: -48%;
  z-index: 3;
  width: 38%;
  height: 260%;
  pointer-events: none;
  opacity: 0;
  transform: rotate(18deg);
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 30%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.05) 70%,
    transparent 100%
  );
  transition:
    left 0.78s ease,
    opacity 0.28s ease;
}

.nosotros-mvv-card:hover {
  transform: translateY(-6px);
  border-color: rgba(207, 166, 255, 0.42);
  box-shadow:
    0 30px 70px rgba(18, 20, 58, 0.24),
    0 0 40px rgba(112, 116, 255, 0.13),
    0 0 32px rgba(191, 112, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.09);
}

.nosotros-mvv-card:hover::after {
  left: 124%;
  opacity: 1;
}

.nosotros-mvv-card-content {
  position: relative;
  z-index: 4;
  width: 100%;
}

.nosotros-mvv-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  font-weight: 800;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 24px rgba(7, 11, 34, 0.16);
}

.nosotros-mvv-card h3 {
  max-width: 350px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(25px, 2.1vw, 32px);
  line-height: 1.04;
  letter-spacing: -0.95px;
  font-weight: 800;
  text-wrap: balance;
  text-shadow:
    0 0 10px rgba(134, 163, 255, 0.08),
    0 0 14px rgba(205, 111, 255, 0.06);
}

.nosotros-mvv-card h3 span {
  color: transparent;
  background: linear-gradient(
    135deg,
    #eef1ff 0%,
    #d9ddff 18%,
    #b7b2ff 40%,
    #cd9eff 68%,
    #f0d7ff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 800;
  text-shadow: none;
}

.nosotros-mvv-card p {
  max-width: 335px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.80);
  font-size: 14.5px;
  line-height: 1.6;
}

/* =========================
   ICONOS SVG SUBIDOS
========================= */

.nosotros-mvv-icon {
  position: absolute;
  right: -18px;
  top: 14px;
  z-index: 1;
  width: 190px;
  height: 190px;
  opacity: 0.30;
  transform: rotate(-5deg);
  transition:
    transform 0.28s ease,
    opacity 0.28s ease,
    filter 0.28s ease;
}

.nosotros-mvv-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    invert(93%)
    sepia(14%)
    saturate(920%)
    hue-rotate(206deg)
    brightness(108%)
    contrast(102%)
    drop-shadow(0 0 12px rgba(122, 214, 255, 0.20))
    drop-shadow(0 0 20px rgba(206, 112, 255, 0.22));
}

.nosotros-mvv-card:hover .nosotros-mvv-icon {
  opacity: 0.40;
  transform: rotate(-2deg) scale(1.04);
}

.nosotros-mvv-card-mission .nosotros-mvv-icon {
  right: -8px;
  top: 16px;
}

.nosotros-mvv-card-vision .nosotros-mvv-icon {
  right: -8px;
  top: 16px;
  width: 198px;
  height: 198px;
}

.nosotros-mvv-card-values .nosotros-mvv-icon {
  right: -22px;
  top: 14px;
  width: 208px;
  height: 208px;
}

/* =========================
   VALORES
========================= */

.nosotros-values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.nosotros-values-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.055));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 8px 18px rgba(8, 12, 35, 0.13);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1180px) {
  .nosotros-mvv {
    padding: 56px 0 64px;
  }

  .nosotros-mvv-heading {
    margin-bottom: 30px;
  }

  .nosotros-mvv-grid {
    gap: 16px;
  }

  .nosotros-mvv-card {
    min-height: 374px;
    padding: 24px;
    border-radius: 26px;
  }

  .nosotros-mvv-card h3 {
    font-size: clamp(23px, 2vw, 29px);
  }

  .nosotros-mvv-icon {
    width: 172px;
    height: 172px;
  }

  .nosotros-mvv-card-vision .nosotros-mvv-icon,
  .nosotros-mvv-card-values .nosotros-mvv-icon {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 980px) {
  .nosotros-mvv {
    padding: 58px 0 66px;
  }

  .nosotros-mvv-heading {
    margin-bottom: 32px;
  }

  .nosotros-mvv-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin: 0 auto;
  }

  .nosotros-mvv-card {
    min-height: 320px;
  }

  .nosotros-mvv-card h3 {
    max-width: 430px;
    font-size: clamp(27px, 4.1vw, 36px);
  }

  .nosotros-mvv-card p {
    max-width: 470px;
  }

  .nosotros-mvv-icon {
    right: 8px;
    top: 16px;
    width: 188px;
    height: 188px;
  }

  .nosotros-mvv-card-vision .nosotros-mvv-icon,
  .nosotros-mvv-card-values .nosotros-mvv-icon {
    right: 4px;
    width: 194px;
    height: 194px;
  }
}

@media (max-width: 720px) {
  .nosotros-mvv {
    padding: 50px 0 58px;
  }

  .nosotros-mvv-heading {
    max-width: 520px;
    margin-bottom: 28px;
  }

  .nosotros-mvv-heading h2 {
    font-size: clamp(31px, 7.8vw, 42px);
    line-height: 1.06;
    letter-spacing: -1.15px;
  }

  .nosotros-mvv-heading p {
    font-size: 15.5px;
    line-height: 1.66;
  }

  .nosotros-mvv-card {
    min-height: 312px;
    padding: 22px;
    border-radius: 24px;
  }

  .nosotros-mvv-card h3 {
    max-width: 350px;
    font-size: clamp(24px, 6.8vw, 33px);
    letter-spacing: -0.75px;
  }

  .nosotros-mvv-card p {
    max-width: 390px;
    font-size: 14.5px;
  }

  .nosotros-mvv-icon {
    right: -18px;
    top: 14px;
    width: 154px;
    height: 154px;
    opacity: 0.24;
  }

  .nosotros-mvv-card-vision .nosotros-mvv-icon,
  .nosotros-mvv-card-values .nosotros-mvv-icon {
    right: -20px;
    width: 162px;
    height: 162px;
  }

  .nosotros-values-list {
    gap: 8px;
  }

  .nosotros-values-list span {
    min-height: 29px;
    padding: 8px 10px;
    font-size: 11.5px;
  }
}

@media (max-width: 480px) {
  .nosotros-mvv {
    padding: 46px 0 52px;
  }

  .nosotros-mvv-heading h2 {
    max-width: 340px;
    margin: 0 auto;
    font-size: clamp(28px, 8vw, 35px);
  }

  .nosotros-mvv-heading p {
    max-width: 340px;
    font-size: 15px;
  }

  .nosotros-mvv-grid {
    gap: 14px;
  }

  .nosotros-mvv-card {
    min-height: 320px;
    padding: 20px;
    border-radius: 22px;
  }

  .nosotros-mvv-label {
    margin-bottom: 14px;
    padding: 7px 11px;
    font-size: 10.5px;
  }

  .nosotros-mvv-card h3 {
    max-width: 300px;
    font-size: clamp(23px, 7vw, 30px);
  }

  .nosotros-mvv-card p {
    max-width: 305px;
    margin-top: 14px;
    font-size: 14px;
  }

  .nosotros-mvv-icon {
    right: -32px;
    top: 14px;
    width: 142px;
    height: 142px;
    opacity: 0.18;
  }

  .nosotros-mvv-card-vision .nosotros-mvv-icon,
  .nosotros-mvv-card-values .nosotros-mvv-icon {
    right: -34px;
    width: 148px;
    height: 148px;
  }

  .nosotros-values-list {
    margin-top: 16px;
  }
}