.bloq-alianzas {
    background: linear-gradient(0deg,rgba(15, 15, 145, 1) 0%, rgba(37, 125, 207, 1) 14%, rgba(255, 255, 255, 1) 53%);
}
.bloq-alianzas .titBold, .bloq-alianzas .txtGrayMid {
	text-align: center;
}
.partners-section {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}
.partners-section h2 { 
    font-size: 2.5rem; 
    margin-bottom: 20px; 
}
.partners-section p { 
    font-size: 1.1rem; 
    color: #666; 
    margin-bottom: 40px; 
}

/* --- Estilos de Pestañas --- */
.tabs-nav { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    margin-bottom: 15px; 
}
.tab-button {
    padding: 12px 25px; 
    font-size: 1rem; 
    font-weight: 600; 
    border: 2px solid #e0e0e0;
    border-radius: 50px; 
    background-color: transparent; 
    color: #555; 
    cursor: pointer;
    transition: all 0.3s ease;
}
.tab-button:hover { 
    border-color: royalblue; 
    color: royalblue; 
}
.tab-button.active { 
    background-color: royalblue; 
    border-color: royalblue; 
    color: white; 
}

/* --- Estilos de Paneles y Círculos --- */
.tabs-content { 
    position: relative; 
    height: 410px; 
}
.logo-panel {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.4s ease, visibility 0.4s;
}
.logo-panel.active { 
    opacity: 1; 
    visibility: visible; 
}
.logo-circle {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.logo-circle:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}
.logo-circle img { 
    max-width: 65%; 
    max-height: 65%; 
    height: auto; 
}

/* --- Estilo del Tooltip --- */
#dynamic-tooltip {
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    z-index: 1000;
    display: none;
}

/* --- Posicionamiento Individual --- */
#alianzas .logo-1 { top: 11%; left: 26%; width: 140px; height: 140px; }
#alianzas .logo-2 { top: 37%; left: 12%; width: 160px; height: 160px; }
#alianzas .logo-3 { top: 5%; left: 45%; width: 180px; height: 180px; }
#alianzas .logo-4 { top: 47%; left: 34%; width: 130px; height: 130px; }
#alianzas .logo-5 { top: 20%; left: 65%; width: 170px; height: 170px; }
#alianzas .logo-6 { top: 51%; left: 53%; width: 150px; height: 150px; }
#distintivos .logo-1 { top: 0%; left: 15%; width: 130px; height: 130px; }
#distintivos .logo-2 { top: 34%; left: 20%; width: 150px; height: 150px; }
#distintivos .logo-3 { top: 4%; left: 33%; width: 160px; height: 160px; }
#distintivos .logo-4 { top: 47%; left: 39%; width: 120px; height: 120px; }
#distintivos .logo-5 { top: 2%; left: 54%; width: 170px; height: 170px; }
#distintivos .logo-6 { top: 48%; left: 54%; width: 180px; height: 180px; }
#distintivos .logo-7 { top: 32%; left: 71%; width: 130px; height: 130px; }
#distintivos .logo-8 { top: 0%; left: 75%; width: 120px; height: 120px; }
#certificaciones .logo-1 { top: 2%; left: 11%; width: 150px; height: 150px; }
#certificaciones .logo-2 { top: 33%; left: 24%; width: 150px; height: 150px; }
#certificaciones .logo-3 { top: 2%; left: 37%; width: 150px; height: 150px; }
#certificaciones .logo-4 { top: 33%; left: 53%; width: 150px; height: 150px; }
#certificaciones .logo-5 { top: 1%; left: 66%; width: 150px; height: 150px; }
#certificaciones .logo-6 { top: 33%; left: 78%; width: 150px; height: 150px; }

/* --- Responsive para Alianzas --- */
@media (max-width: 768px) {
  .tabs-content {
    height: auto;
    padding: 20px 0;
  }
  .logo-panel.active {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
  }
  .logo-circle {
    position: static;
    top: auto;
    left: auto;
    width: 120px;
    height: 120px;
  }
  .partners-section h2 {
    font-size: 2rem;
  }
  .tab-button {
      padding: 10px 8px;
      font-size: 0.8rem;
  }
	.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
	}
	.partners-section {
    padding: 0 0px;
	}
}