/* ==========================================================================
   1. VARIABLES & RESET RESPONSIVE
   ========================================================================== */
:root {
  --color-morado: #86339A;
  --color-magenta: #B20066;
  --color-gris-corp: rgb(169, 171, 174);
  --color-gris-soft: #f8f9fa;
  --color-texto: #2b2b2b;
  --color-blanco: #ffffff;
  --font-principal: 'Calibri', 'Carlito', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-principal);
  color: var(--color-texto);
  background-color: var(--color-blanco);
  line-height: 1.6;
  /*font-size: 1.125rem;*/ /* 18px */
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

main {
	margin-bottom: 2rem;
}

/* ==========================================================================
   2. HEADER & MENU RESPONSIVE (MÓVIL / DESKTOP)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Header */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  width: auto;
  height: 48px; /* Altura recomendada para escritorio */
  max-width: 196px;
  object-fit: contain;
  transition: var(--transition);
}

.logo-link:hover .logo-img {
  opacity: 0.9;
  transform: scale(1.02);
}

/* Ajuste responsive para móviles */
@media (max-width: 768px) {
  .logo-img {
    height: 38px; /* Altura ajustada para no saturar la pantalla móvil */
    max-width: 155px;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-texto);
  font-weight: 400;
  transition: var(--transition);
  position: relative;
  padding: 0.2rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-magenta);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-morado);
}

/* Botón Hamburguesa */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--color-morado);
  border-radius: 2px;
  transition: var(--transition);
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-magenta);
  color: var(--color-blanco);
}

.btn-primary:hover {
  background-color: var(--color-morado);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(178, 0, 102, 0.3);
}

.btn-outline {
  border: 1.5px solid var(--color-magenta);
  color: var(--color-magenta);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--color-magenta);
  color: var(--color-blanco);
}

.btn-icon {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   3. HERO & SECCIONES
   ========================================================================== */
.hero {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: center;
  min-height: 75vh;
}

.hero-content {
	margin-left: 2rem;
	padding: 3rem 1.5rem;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 3vw + 1rem, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #1a1a1a;
  margin-bottom: 1.2rem;
}

.hero-content h1 span {
  color: var(--color-morado);
  display: block;
}

.hero-description {
  font-size: clamp(1.1rem, 1.5vw + 0.8rem, 1.3rem);
  color: #555;
  max-width: 780px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Clases de Entrada Escalona (Fade-Up) */
.hero-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0ms);
}

.hero-animate.active {
  opacity: 1;
  transform: translateY(0);
}

/* Texto Gradiente Animado */
.gradient-text {
  background: linear-gradient(135deg, var(--color-morado) 0%, var(--color-magenta) 50%, #86339A 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;
}

.stats-section {
    background: linear-gradient(135deg, var(--color-morado) 0%, #5c216c 100%);
    color: var(--color-blanco);
    padding: 4.5rem 1.5rem;
  }

  .stats-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    text-align: center;
  }

  .stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .stat-number-wrapper {
    font-size: clamp(2.8rem, 4vw + 1rem, 4rem);
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
  }

  .stat-symbol {
    color: var(--color-blanco);
    margin-left: 2px;
  }

  .stat-label {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    line-height: 1.4;
    max-width: 220px;
  }

/* ==========================================================================
   4. BENTO GRID RESPONSIVE
   ========================================================================== */
.services-section {
  max-width: 1280px;
  margin: 5rem auto;
  padding: 0 1.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title span {
  color: var(--color-magenta);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3vw + 1rem, 2.8rem);
  color: var(--color-morado);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bento-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* Contenedor Principal de la Bento Card */
.bento-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 22px;
  padding: 2.2rem 1.8rem;
  overflow: hidden; /* Oculta la burbuja mientras está fuera o pequeña */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
  cursor: pointer;
  z-index: 1;
}

/* La Burbuja Expandible (Pseudoelemento ::before) */
.bento-card::before {
  content: "";
  position: absolute;
  top: var(--mouse-y, 100%);  /* Posición por defecto: abajo a la derecha */
  left: var(--mouse-x, 100%);
  width: 300%;
  height: 300%;
  background: linear-gradient(135deg, var(--color-morado) 0%, #5c216c 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0); /* Empieza con tamaño 0 */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1; /* Queda detrás del texto */
  pointer-events: none;
}

/* Capa del contenido para controlar la superposición y color del texto */
.bento-card-content {
  position: relative;
  z-index: 2;
}

.bento-card h3 {
  color: var(--color-morado);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  transition: color 0.4s ease;
}

.bento-card p {
  color: #555555;
  font-size: 1rem;
  line-height: 1.6;
  transition: color 0.4s ease;
}

/* --------------------------------------------------------------------------
   EFECTOS HOVER (Expansión de la Burbuja y Cambio de Colores)
   -------------------------------------------------------------------------- */
.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(134, 51, 154, 0.22);
  border-color: var(--color-morado);
}

/* Se expande la burbuja al hacer hover */
.bento-card:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

/* Transición suave del texto hacia blanco */
.bento-card:hover h3 {
  color: #ffffff;
}

.bento-card:hover p {
  color: rgba(255, 255, 255, 0.92);
}

/* Estado Inicial Oculto (Estilo Flip-Up) */
.bento-card-flip {
  opacity: 0;
  transform: rotateX(-35deg) translateY(50px) scale(0.95);
  transform-origin: top center;
  will-change: transform, opacity;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0ms);
}

/* Estado Final cuando la tarjeta entra en la pantalla */
.bento-card-flip.aos-animate {
  opacity: 1;
  transform: rotateX(0deg) translateY(0) scale(1);
}

/* ==========================================================================
   5. MEDIA QUERIES (ADAPTACIÓN A MÓVILES Y TABLETS)
   ========================================================================== */
@media (max-width: 992px) {
  .mobile-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--color-blanco);
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: transform 0.4s ease-in-out;
    visibility: hidden;
  }

  .nav-menu.active {
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
  }

  .btn-nav {
    width: 40%;
  }

  
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 2rem;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--color-blanco);
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: transform 0.4s ease-in-out;
    visibility: hidden;
  }

  .nav-menu.active {
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
  }

  .btn-nav {
    width: 50%;
  }

  .bento-grid, .bento-grid-2 {
    grid-template-columns: 1fr;
  }

  .bento-card.featured {
    grid-column: span 1;
  }

  .hero-buttons {
    flex-direction: row;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 60%;
  }
}
  /* ==========================================================================
   FOOTER (ESTILO CORPORATIVO BASADO EN GUÍA)
   ========================================================================== */
  .footer {
	  position: relative;
	  background-image: url('../img/footer.png'); /* Ajusta la ruta de la imagen si es necesario */
	  background-size: cover;
	  background-position: center center;
	  background-repeat: no-repeat;
	  color: #ffffff;
	}
	
	.footer-overlay {
	  background: linear-gradient(
		180deg, 
		rgba(20, 10, 25, 0.72) 0%, 
		rgba(35, 10, 45, 0.88) 60%, 
		rgba(20, 5, 25, 0.95) 100%
	  );
	  padding: 4.5rem 1.5rem 2.5rem 1.5rem;
	  width: 100%;
	}

    .footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr; /* Estructura de 3 columnas */
    gap: 3rem;
    align-items: start;
    }

   .footer-col {
  display: flex;
  flex-direction: column;
}

.footer-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.footer-contact-item a,
.footer-address {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.5;
  text-decoration: none;
  max-width: 320px;
}

.footer-contact-item a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: var(--color-magenta, #B20066);
  border-color: var(--color-magenta, #B20066);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-col-right {
  align-items: center;
}

.footer-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1); /* Asegura que el logo se vea blanco si es necesario */
}

.footer-copy {
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin-bottom: 0.8rem;
}

.footer-privacy {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  text-decoration: underline;
}

.footer-privacy:hover {
  color: #ffffff;
}


    /* Adaptabilidad Móvil */
    @media (max-width: 900px) {
        .footer-container {
            grid-template-columns: 1fr;
            gap: 2.5rem;
            text-align: center;
        }

        .footer-col-center {
            padding-left: 0;
        }

        .footer-contact-item {
            justify-content: center;
        }

        .footer-address {
            margin-left: auto;
            margin-right: auto;
        }

        .footer-socials {
            justify-content: center;
        }
    
}

 /* Sección Equipo Header */
.team-hero-section {
  padding: 5rem 1.5rem 3rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(134, 51, 154, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
}

.team-hero-section h1 {
  font-size: clamp(2.2rem, 3.5vw + 1rem, 2.5rem);
  color: var(--color-morado);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.team-hero-section p {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Grid de Integrantes */
.team-section {
  max-width: 1280px;
  margin: 0 auto 6rem auto;
  padding: 0 1.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

/* Tarjeta Individual del Equipo con Animación Sutil */
.team-card {
  background: var(--color-blanco);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #eaeaea;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
			  box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
			  border-color 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Animación al pasar el cursor (Hover) */
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(134, 51, 154, 0.12);
  border-color: rgba(134, 51, 154, 0.3);
}

.team-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.5;
  overflow: hidden;
  background-color: var(--color-gris-soft);
}

.team-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Efecto Zoom sutil en la foto al Hover */
.team-card:hover .team-image-wrapper img {
  transform: scale(1.04);
}

/* Overlay sutil para el correo electrónico */
.team-overlay {
  position: absolute;
  inset: 0;
  background: rgba(134, 51, 154, 0.4);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.mail-btn {
  width: 46px;
  height: 46px;
  background-color: var(--color-blanco);
  color: var(--color-magenta);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.mail-btn:hover {
  background-color: var(--color-magenta);
  color: var(--color-blanco);
  transform: scale(1.1);
}

.mail-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Información del integrante */
.team-info {
  padding: 1.5rem 1.2rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 0.3rem;
}

.team-role {
  font-size: 0.95rem;
  color: var(--color-morado);
  font-weight: 600;
}

/* Sección Membresías */
.memberships-section {
  background-color: var(--color-gris-soft);
  padding: 4rem 1.5rem;
  border-top: 1px solid #e9ecef;
}

.memberships-container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.memberships-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

/* Envoltorio del Carrusel con Difuminado Lateral */
.memberships-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
  /* Degradado suave a los lados para disimular la entrada y salida de logos */
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

/* Pista Animada Continuamente */
.memberships-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: scrollMemberships 30s linear infinite;
  will-change: transform;
}

/* Pausa automática al pasar el ratón */
.memberships-carousel:hover .memberships-track {
  animation-play-state: paused;
}

/* Elementos e Imágenes del Carrusel */
.membership-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.8rem 1.2rem;
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.membership-item img {
  max-height: 100px;
}

/* Hover Individual en el Logo */
.membership-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(134, 51, 154, 0.15);
  border-color: var(--color-morado, #86339A);
}

/* Animación de Desplazamiento Infinito */
@keyframes scrollMemberships {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 1.5rem)); /* Traslada exactamente la mitad del ancho de la pista */
  }
}

@media (max-width: 768px) {
  .memberships-track {
    gap: 1.8rem;
    animation-duration: 22s; /* Un poco más rápido en móviles para mantener ritmo */
  }

  .membership-item img {
    max-height: 60px;
  }
}

/* Hero Sección Servicios */
.hero-section {
  padding: 5rem 1.5rem 1.5rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(134, 51, 154, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
}

.hero-section h1 {
  font-size: clamp(2.2rem, 3.5vw + 1rem, 2.5rem);
  color: var(--color-morado);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.5vw + 0.8rem, 1.4rem);
  color: var(--color-magenta);
  font-weight: 600;
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
}

.hero-text p {
  max-width: 1280px !important;
  text-align: start !important;;
}

.hero-text {
  margin: 2rem auto;
}

.hero-section p {
    color: #666;
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Pestañas de Servicios e Iconos */
.services-tab-wrapper {
  margin: 2rem 3rem;
  padding: 0 4rem;
}

.services-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.service-tab-btn {
  background: var(--color-blanco);
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  flex: 1 1 140px;
  max-width: 180px;
}

.service-tab-btn img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.service-tab-btn span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-texto);
  text-align: center;
}

.service-tab-btn:hover,
.service-tab-btn.active {
  background: var(--color-morado);
  border-color: var(--color-morado);
  box-shadow: 0 6px 18px rgba(134, 51, 154, 0.2);
  transform: translateY(-3px);
}

.service-tab-btn:hover span,
.service-tab-btn.active span {
  color: var(--color-blanco);
}

.service-tab-btn:hover img,
.service-tab-btn.active img {
  filter: brightness(0) invert(1);
}

/* Panel de Descripción Dinámico */
.service-description-card {
  background: linear-gradient(135deg, var(--color-morado) 0%, #5c216c 100%);
  color: var(--color-blanco);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 4rem;
  box-shadow: 0 10px 25px rgba(134, 51, 154, 0.15);
  position: relative;
  overflow: hidden;
}

.service-panel {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.service-panel.active {
  display: block;
}

.service-panel p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Galería de Proyectos / Bento Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.portfolio-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--color-gris-soft);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-card.hidden {
  display: none;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.portfolio-card:hover img {
  transform: scale(1.06);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(134, 51, 154, 0.9) 0%, rgba(178, 0, 102, 0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--color-blanco);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.portfolio-overlay p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Sección Tecnología */
.tech-section {
  background-color: var(--color-gris-soft);
  padding: 5rem 1.5rem;
  border-top: 1px solid #eaeaea;
}

.tech-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.tech-content h2 {
  font-size: clamp(1.8rem, 3vw + 1rem, 2.8rem);
  color: var(--color-morado);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.tech-content p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
}

.tech-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.tech-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .tech-container {
	grid-template-columns: 1fr;
	text-align: center;
  }
}

/* Hero Medios */
.media-hero-section {
  padding: 5rem 1.5rem 3rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(134, 51, 154, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
}

.media-hero-section h1 {
  font-size: clamp(2.2rem, 3.5vw + 1rem, 2.5rem);
  color: var(--color-morado);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.media-hero-section p {
  color: #666;
  max-width: 750px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Secciones de Video en Alternancia */
.media-container {
  max-width: 1280px;
  margin: 2rem auto 5rem auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.media-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--color-blanco);
  border: 1px solid #eaeaea;
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.media-block:hover {
  box-shadow: 0 10px 30px rgba(134, 51, 154, 0.08);
  border-color: rgba(134, 51, 154, 0.3);
  transform: translateY(-4px);
}

.media-block.reverse {
  direction: rtl;
}

.media-block.reverse > * {
  direction: ltr;
}

.media-text h2 {
  font-size: clamp(1.5rem, 2.5vw + 0.8rem, 2rem);
  color: var(--color-morado);
  margin-bottom: 1rem;
  font-weight: 700;
}

.media-text p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.6;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  background-color: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Sección Podcast */
.podcast-section {
  background-color: var(--color-gris-soft);
  padding: 5rem 1.5rem;
  border-top: 1px solid #e9ecef;
}

.podcast-container {
  max-width: 1280px;
  margin: 0 auto;
}

.podcast-title {
  text-align: center;
  margin-bottom: 3rem;
}

.podcast-title h2 {
  font-size: clamp(2rem, 3vw + 1rem, 2.8rem);
  color: var(--color-morado);
  font-weight: 700;
}

.podcast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Player y Playlist Estilizados */
.player-card {
  background: var(--color-blanco);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #e2e2e2;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  position: sticky;
  top: 100px;
}

.player-card h3 {
  font-size: 1.3rem;
  color: var(--color-morado);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.audio-element {
  width: 100%;
  margin-top: 1rem;
  outline: none;
}

.playlist-card {
  background: var(--color-blanco);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #e2e2e2;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.playlist-search {
  width: 100%;
  padding: 0.8rem 1.2rem;
  border: 1px solid #ccc;
  border-radius: 50px;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-principal);
  outline: none;
  transition: var(--transition);
}

.playlist-search:focus {
  border-color: var(--color-magenta);
  box-shadow: 0 0 0 3px rgba(178, 0, 102, 0.1);
}

.playlist-ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 380px;
  overflow-y: auto;
}

.playlist-ul li {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.98rem;
  color: #444;
}

.playlist-ul li:hover,
.playlist-ul li.active {
  background-color: rgba(134, 51, 154, 0.08);
  color: var(--color-morado);
  font-weight: 700;
}

@media (max-width: 900px) {
  .media-block, .media-block.reverse {
	grid-template-columns: 1fr;
	padding: 1.5rem;
	direction: ltr;
  }

  .podcast-grid {
	grid-template-columns: 1fr;
  }

  .player-card {
	position: static;
  }
}

/* Hero del Blog */
.blog-hero-section {
  padding: 5rem 1.5rem 2.5rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(134, 51, 154, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
}

.blog-hero-section h1 {
  font-size: clamp(2.2rem, 3.5vw + 1rem, 2.5rem);
  color: var(--color-morado);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.blog-hero-section p {
  color: #666;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
}

.blog-search-bar {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.blog-search-input {
  width: 100%;
  padding: 0.9rem 1.4rem;
  border: 1px solid #ccc;
  border-radius: 50px;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
  font-family: var(--font-principal);
}

.blog-search-input:focus {
  border-color: var(--color-magenta);
  box-shadow: 0 0 0 3px rgba(178, 0, 102, 0.12);
}

/* Artículo Destacado (Featured) */
.featured-blog-container {
  max-width: 1280px;
  margin: 1rem auto 4rem auto;
  padding: 0 1.5rem;
}

.featured-card {
  background: linear-gradient(135deg, var(--color-morado) 0%, #5c216c 100%);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  box-shadow: 0 10px 30px rgba(134, 51, 154, 0.15);
  color: var(--color-blanco);
}

.featured-content {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-badge {
  align-self: flex-start;
  background: var(--color-magenta);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}

.featured-content h2 {
  font-size: clamp(1.8rem, 2.5vw + 1rem, 2.4rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #fff;
}

.featured-content p {
  font-size: 1.1rem;
  color: #f0f0f0;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.featured-image-wrapper {
  position: relative;
  min-height: 320px;
}

.featured-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Grid de Artículos Secundarios */
.blog-grid-section {
  max-width: 1280px;
  margin: 0 auto 6rem auto;
  padding: 0 1.5rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--color-blanco);
  border: 1px solid #eaeaea;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  border-color: rgba(134, 51, 154, 0.3);
}

.blog-card.hidden {
  display: none;
}

.blog-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: var(--color-gris-soft);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 0.8rem;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-card-title:hover {
  color: var(--color-magenta);
}

.blog-card-text {
  font-size: 0.98rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-card-link {
  color: var(--color-morado);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.blog-card-link:hover {
  color: var(--color-magenta);
}

.blog-card-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@media (max-width: 900px) {
  .featured-card {
	grid-template-columns: 1fr;
  }

  .featured-content {
	padding: 2rem;
  }

  .featured-image-wrapper {
	height: 240px;
	min-height: auto;
  }
}

.contact-hero-section {
  padding: 5rem 1.5rem 2rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(134, 51, 154, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
}

.contact-hero-section h1 {
  font-size: clamp(2.2rem, 3.5vw + 1rem, 2.5rem);
  color: var(--color-morado);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-hero-section p {
  color: #666;
  font-size: 1.1rem;
}

.contact-grid-wrapper {
  max-width: 1280px;
  margin: 2rem auto 5rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

/* Formulario Estilizado */
/* ==========================================================================
   FORMULARIO DE CONTACTO MODERNO & ELEGANTE
   ========================================================================== */

.contact-form-modern {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #eaeaea;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem 1.5rem;
}

.full-width {
    grid-column: span 2;
}

/* Campos con Etiquetas Flotantes (Floating Labels) */
.form-field {
    position: relative;
    display: flex;
    flex-direction: column;
}

.form-input {
    width: 100%;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    font-family: var(--font-principal, sans-serif);
    color: #2c2c2c;
    background: #f9f9fb;
    border: 1.5px solid #e2e2e8;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

/* Posicionamiento de la Etiqueta */
.form-label {
    position: absolute;
    left: 1.2rem;
    top: 1rem;
    font-size: 0.98rem;
    color: #71717a;
    pointer-events: none;
    transition: all 0.25s ease;
    background-color: transparent;
}

/* Animación cuando el Input está enfocado o contiene texto */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -0.65rem;
    left: 0.9rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-morado, #86339A);
    background-color: #ffffff;
    padding: 0 0.4rem;
    border-radius: 4px;
}

.form-input:focus {
    background: #ffffff;
    border-color: var(--color-morado, #86339A);
    box-shadow: 0 0 0 4px rgba(134, 51, 154, 0.1);
}

/* Checkbox Personalizado */
.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-box {
    width: 22px;
    height: 22px;
    background-color: #f9f9fb;
    border: 2px solid #d1d1d8;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.25s ease;
}

.checkbox-icon {
    width: 14px;
    height: 14px;
    stroke: #ffffff;
    stroke-width: 3;
    fill: none;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-checkbox input:checked ~ .checkbox-box {
    background-color: var(--color-morado, #86339A);
    border-color: var(--color-morado, #86339A);
}

.custom-checkbox input:checked ~ .checkbox-box .checkbox-icon {
    opacity: 1;
    transform: scale(1);
}

.checkbox-text {
    font-size: 0.92rem;
    color: #52525b;
    line-height: 1.5;
}

.checkbox-text a {
    color: var(--color-magenta, #B20066);
    font-weight: 600;
    text-decoration: none;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

/* Botón de Envío Premium */
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    padding: 1.1rem 2rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, var(--color-morado, #86339A) 0%, var(--color-magenta, #B20066) 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(134, 51, 154, 0.25);
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(134, 51, 154, 0.35);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.btn-svg {
    width: 20px;
    height: 20px;
}

.btn-submit:hover .btn-icon-wrapper {
    transform: translateX(4px);
}

/* Adaptación Responsiva */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .full-width {
        grid-column: span 1;
    }
    .contact-form-modern {
        padding: 1.8rem 1.2rem;
    }
}

/* Campo Honeypot Oculto para Bots */
.website-hp {
  display: none !important;
  visibility: hidden !important;
}


/* Caja de Datos e Información de la Oficina */
.contact-info-card {
  background: linear-gradient(135deg, var(--color-morado) 0%, #5c216c 100%);
  color: var(--color-blanco);
  border-radius: 20px;
  
  box-shadow: 0 10px 30px rgba(134, 51, 154, 0.2);
}

.contact-info-card h2 {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-top: 1.5rem;
}

.contact-info-subtitulo {
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 2.5rem;
}

.info-item svg {
  width: 24px;
  height: 24px;
  fill: var(--color-blanco);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-item p, .info-item a {
  color: #f1f1f1;
  font-size: 1.05rem;
  text-decoration: none;
  line-height: 1.5;
}

.info-item a:hover {
  text-decoration: underline;
}

.map-container {
  margin-top: 2rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  aspect-ratio: 16 / 9;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .contact-grid-wrapper {
	grid-template-columns: 1fr;
  }

  .form-group-grid {
	grid-template-columns: 1fr;
  }
}

/***** POST ******/

    .post-hero-container {
      max-width: 900px;
      margin: 0 auto;
    }

    .post-category-badge {
      display: inline-block;
      background: var(--color-magenta, #B20066);
      color: #ffffff;
      font-size: 0.8rem;
      font-weight: 700;
      text-transform: uppercase;
      padding: 0.35rem 0.9rem;
      border-radius: 50px;
      letter-spacing: 0.5px;
      margin-bottom: 1.2rem;
    }

    .post-main-wrapper {
      max-width: 900px;
      margin: 0 auto 5rem auto;
      padding: 0 1.5rem;
    }
    
    .post-header-layout {
	  display: flex;
	  gap: 2.5rem; /* Espaciado entre el texto y la imagen */
	  align-items: flex-start; /* Alinea los elementos al inicio superior */
	  margin-bottom: 2.5rem;
	}
	
	/* Sección de texto a la izquierda (60%) */
	.post-header-layout .post-text-wrapper {
	  flex: 0 0 40%;
	  max-width: 40%;
	}

	/* Sección de imagen a la derecha (40%) */
	.post-header-layout .post-image-wrapper {
	  flex: 0 0 60%;
	  max-width: 60%;
	}

    .post-featured-image {
      width: 90%;
      max-height: 400px;
      object-fit: cover;
      border-radius: 20px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      margin-bottom: 2.5rem;
    }

    .post-content {
      font-size: 1.1rem;
      color: #333333;
      line-height: 1.8;
    }

    .post-content p {
      margin-bottom: 1.6rem;
    }

    .post-content blockquote {
      background: rgba(134, 51, 154, 0.05);
      border-left: 4px solid var(--color-morado, #86339A);
      padding: 1.5rem;
      border-radius: 0 12px 12px 0;
      margin: 2rem 0;
      font-style: italic;
      color: var(--color-morado, #86339A);
      font-size: 1.15rem;
    }

	.post-content h3 {
      font-size: 1.5rem;
      color: var(--color-morado, #86339A);
      font-weight: 700;
      margin: 2.2rem 0 1rem 0;
    }

    .post-content ul {
      margin: 1rem 0 1.8rem 1.5rem;
      list-style-type: disc;
    }

    .post-content ul li {
      margin-bottom: 0.8rem;
      line-height: 1.7;
    }

    .post-content strong {
      color: var(--color-morado, #86339A);
    }
    
    /* Cajas Especiales para Autora e Institución */
    .post-author-box {
      background: #f9f8fa;
      border-left: 4px solid var(--color-magenta, #B20066);
      border-radius: 0 16px 16px 0;
      padding: 1.8rem;
      margin: 2.5rem 0 1.5rem 0;
    }

    .post-author-box h4 {
      font-size: 1.15rem;
      color: var(--color-magenta, #B20066);
      font-weight: 700;
      margin-bottom: 0.6rem;
    }
    
    .post-scenario-box {
      background: #fdf8fa;
      border-left: 4px solid var(--color-magenta, #B20066);
      border-radius: 0 16px 16px 0;
      padding: 2rem;
      margin: 2.5rem 0;
    }

    .post-scenario-box h4 {
      font-size: 1.25rem;
      color: var(--color-magenta, #B20066);
      font-weight: 700;
      margin-bottom: 0.8rem;
    }

    .post-company-box {
      background: rgba(134, 51, 154, 0.05);
      border-left: 4px solid var(--color-morado, #86339A);
      border-radius: 0 16px 16px 0;
      padding: 1.8rem;
      margin-bottom: 2.5rem;
    }

    .post-company-box h4 {
      font-size: 1.15rem;
      color: var(--color-morado, #86339A);
      font-weight: 700;
      margin-bottom: 0.6rem;
    }

    .post-footer-nav {
      margin-top: 3.5rem;
      padding-top: 2rem;
      border-top: 1px solid #eaeaea;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .btn-back {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--color-morado, #86339A);
      font-weight: 700;
      text-decoration: none;
      transition: color 0.2s ease;
    }

    .btn-back:hover {
      color: var(--color-magenta, #B20066);
    }
    
     /* Estilos Estructurados para la Lista de Cualidades */
    .qualities-ol {
      margin: 1.5rem 0 2.5rem 0;
      padding: 0;
      list-style: none;
      counter-reset: quality-counter;
    }

    .qualities-ol > li {
      counter-increment: quality-counter;
      position: relative;
      background: #ffffff;
      border: 1px solid #eaeaea;
      border-radius: 16px;
      padding: 1.8rem 1.8rem 1.8rem 4.5rem;
      margin-bottom: 1.5rem;
      box-shadow: 0 4px 15px rgba(0,0,0,0.02);
      transition: var(--transition-smooth);
    }

    .qualities-ol > li:hover {
      border-color: rgba(134, 51, 154, 0.3);
      box-shadow: 0 8px 25px rgba(134, 51, 154, 0.08);
    }

    .qualities-ol > li::before {
      content: counter(quality-counter);
      position: absolute;
      left: 1.5rem;
      top: 1.8rem;
      width: 38px;
      height: 38px;
      background: var(--color-morado, #86339A);
      color: #ffffff;
      font-weight: 800;
      font-size: 1.1rem;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .qualities-ol > li ul {
      margin: 1rem 0 0 1rem;
      list-style-type: disc;
    }

    .qualities-ol > li ul li {
      margin-bottom: 0.6rem;
      font-size: 1.02rem;
      color: #555555;
    }
    
    .qualities-ol strong {
      color: var(--color-morado, #86339A);
    }
    
    /* Caja de Preguntas de Perfilamiento */
    .profile-questions-box {
      background: #fdf8fa;
      border-left: 4px solid var(--color-magenta, #B20066);
      border-radius: 0 16px 16px 0;
      padding: 1.5rem 1.8rem;
      margin: 1.5rem 0 2rem 0;
    }

    .profile-questions-box ul {
      margin: 0.5rem 0 0 1.2rem;
      list-style-type: circle;
    }

    .profile-questions-box li {
      color: var(--color-magenta, #B20066);
      font-weight: 600;
      margin-bottom: 0.5rem;
    }



