/* ==========================================================================
   NOSOTROS — CARDS GENERALES
   ========================================================================== */
.sn-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 32px;
  height: 100%;
  transition: border-color .3s cubic-bezier(.25, .8, .25, 1),
    transform .3s cubic-bezier(.25, .8, .25, 1),
    box-shadow .3s cubic-bezier(.25, .8, .25, 1);
  position: relative;
}

.sn-card:hover {
  border-color: var(--purple-soft);
  transform: translateY(-5px);
  box-shadow: 0 16px 38px var(--purple-glow);
}

.sn-card h5 {
  color: var(--dark);
  margin-bottom: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.sn-card p {
  color: var(--text-secondary);
  font-size: .92rem;
  line-height: 1.75;
  margin: 0;
}

.sn-card--highlight {
  background: linear-gradient(135deg, var(--bg-card-2) 0%, #EDE9FE 100%);
  border-color: var(--border);
}

/* ==========================================================================
   ICON-WRAP — VALORES Y MODELOS (Sincronizado con Index)
   ========================================================================== */
.icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.06);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease, background .3s ease, color .3s ease, box-shadow .3s ease;
  border: 1px solid rgba(124, 58, 237, 0.1);
}

.sn-card:hover .icon-wrap {
  transform: scale(1.1) rotate(6deg);
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 8px 20px var(--purple-glow);
}

.sn-card:hover .icon-wrap svg {
  stroke: #fff !important;
}

/* ==========================================================================
   NOSOTROS — NÚMEROS Y ESTADÍSTICAS
   ========================================================================== */
.sn-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 6px;
}

.sn-stat-lbl {
  font-size: .84rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   NOSOTROS — QUOTE DE RELEVANCIA
   ========================================================================== */
.sn-quote {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.07), rgba(168, 85, 247, 0.04));
  border: 1px solid var(--border);
  border-left: 4px solid var(--purple);
  border-radius: 0 16px 16px 0;
  padding: 30px 34px;
  position: relative;
  overflow: hidden;
}

.sn-quote::before {
  content: '"';
  position: absolute;
  top: -24px;
  right: 16px;
  font-size: 9rem;
  color: rgba(124, 58, 237, .08);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.sn-quote p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark) !important;
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   NOSOTROS — ENLACES Y FONDOS
   ========================================================================== */
.sn-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: .83rem;
  color: var(--purple);
  text-decoration: none;
  font-weight: 700;
  transition: color .2s, gap .2s;
}

.sn-link:hover {
  color: var(--purple-dark);
  gap: 8px;
}

.sec-a {
  background: var(--bg-base);
}

.sec-b {
  background: var(--bg-section-alt);
}

/* ==========================================================================
   NUEVO REDISEÑO PREMIUM: MISIÓN Y VISIÓN
   ========================================================================== */

/* Layout asimétrico moderno de 2 columnas internas */
.sn-card--mv {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  padding: 40px !important;
  background: #ffffff;
  border: 1px solid rgba(124, 58, 237, 0.08);
  overflow: hidden;
}

.mv-visual-pane {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.mv-content-pane {
  flex-grow: 1;
}

/* Títulos y cuerpo de Misión/Visión */
.mv-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--dark);
  margin: 12px 0 8px 0;
}

.mv-card-text {
  font-size: .96rem !important;
  line-height: 1.8 !important;
  color: var(--text-secondary);
}

/* Resaltado de texto con gradientes modernos */
.mv-text-highlight {
  font-weight: 700;
  display: inline;
}

.mv-text-highlight--purple {
  background: linear-gradient(120deg, #7C3AED, #A855F7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mv-text-highlight--indigo {
  background: linear-gradient(120deg, #5B21B6, #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Pequeño tag debajo del icono principal */
.mv-badge-text {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ── Contenedores de Iconos Espejo (Glassmorphism) ── */
.mv-icon-wrap {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Anillo exterior animado */
.mv-icon-wrap::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 28px;
  opacity: 0.3;
  transition: opacity 0.4s, inset 0.4s;
}

/* Segundo anillo concéntrico interno punteado */
.mv-icon-wrap::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 16px;
  border: 1.5px dashed rgba(255, 255, 255, 0.25);
  transition: transform 0.6s ease;
}

/* Hovers de la tarjeta vinculados a la interacción del icono */
.sn-card--mv:hover .mv-icon-wrap {
  transform: scale(1.08) rotate(6deg);
}

.sn-card--mv:hover .mv-icon-wrap::before {
  opacity: 1;
  inset: -9px;
}

.sn-card--mv:hover .mv-icon-wrap::after {
  transform: rotate(-45deg) scale(0.9);
}

/* CONFIGURACIÓN EXCLUSIVA: MISIÓN (Miras y Objetivos) */
.mv-icon-wrap--mision {
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.25),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.mv-icon-wrap--mision::before {
  border: 2px dashed rgba(124, 58, 237, 0.35);
}

.sn-card--mision-layout:hover .mv-icon-wrap--mision {
  box-shadow: 0 16px 35px rgba(124, 58, 237, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

/* CONFIGURACIÓN EXCLUSIVA: VISIÓN (Estrellas y Futuro) */
.mv-icon-wrap--vision {
  background: linear-gradient(135deg, #4c1d95 0%, #7C3AED 100%);
  box-shadow: 0 10px 25px rgba(91, 33, 182, 0.25),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.mv-icon-wrap--vision::before {
  border: 2px solid rgba(168, 85, 247, 0.25);
}

.sn-card--vision-layout:hover .mv-icon-wrap--vision {
  box-shadow: 0 16px 35px rgba(91, 33, 182, 0.42),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

/* SVG Internos */
.mv-icon-wrap svg {
  color: #ffffff;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
  transition: transform 0.4s ease;
}

.sn-card--mv:hover .mv-icon-wrap svg {
  transform: scale(1.12);
}

/* Línea sutil decorativa superior en Hover */
.sn-card--mv::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #5B21B6, #7C3AED, #A855F7);
  opacity: 0;
  transition: opacity 0.3s;
}

.sn-card--mv:hover::after {
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 768px) {
  .sn-card--mv {
    flex-direction: column;
    gap: 20px;
    padding: 30px 24px !important;
  }

  .mv-visual-pane {
    flex-direction: row;
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
  }

  .mv-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
  }

  .mv-icon-wrap::before {
    border-radius: 22px;
  }

  .mv-icon-wrap svg {
    width: 28px;
    height: 28px;
  }

  .mv-card-title {
    margin-top: 4px;
  }
}